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

help its difrrent question thx so much
Radiation is an example of a transverse wave t or f
A drawbridge rises at a constant rate. It takes 1 1/2 minutes for the drawbridge to rise 6/20 of its total height. How much tike, in minutes, does it take for t
How hold do you have to be to have a credit card
5 times 2/12=___ 4 times 2/3=___ 6 times 2/6=___ 2 times 4/8=___ 3 times 1/2=____
What benefits did sea trading have over land trade routes?
the starving time was a winter and Jamestown that led the residents to eat what
plz help me thanks so much for helping
how do you get from one number to the next using multiplacation or division? Exp: 100 to 106
Dilation of a line by a scale factor 1/3 centered at the point (4,2)