kodakbrittany4828 kodakbrittany4828
  • 04-10-2019
  • Computers and Technology
contestada

Assume you have an integer pointer variable named intpoint2. It contains the address 1e6f24. You execute intpoint2++. What does intpoint2 now contain?

a)1e6f24

b)1e6f25

c)1e6f28

d)1e6f2c

Respuesta :

ExieFansler ExieFansler
  • 05-10-2019

Answer:

c)1e6f28

Explanation:

The integer pointer intpoint2 points to the address 1e6f24.On increasing the inpoint.The intpoint will point to next location and since we know that the memory taken by integers is 4bytes.So the pointer will move to the next location 4 bytes ahead.

1e6f24+4=1e6f28.

Hence the answer is option c.

Answer Link

Otras preguntas

Which term represents a type of nuclear reaction? (1) condensation (2) vaporization (3) single replacement (4) natural transmutation
Can someone help me match these up? i know the given is number one I need help with the rest.1.line RS || segment AB, ∠1=∠22.∠B = ∠13.∠A = ∠24.∠A = ∠B5.RA = RBA
What was one important thing that Abraham Lincoln did?
Which energy conversion must occur in an operating electrolytic cell? (1) electrical energy to chemical energy (2) electrical energy to nuclear energy (3) chemi
which is understanding of classification an important skill
What ocean is on the East Coast of the United States?
When do we celebrate Independence Day?
Which formula represents an organic compound? ( l) CaH2 (3) H2O2 (2) C4H8 (4) P2O5
Which change results in the formation of different substances? (1) burning of propane (2) melting of NaCl (s) (3) deposition of CO2(g) (4) solidification of wat
What is one responsibility that is only for United States citizens?