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 of the following types of group would most likely be impacted by a bad apple?
All of the following statements about propaganda are TRUE except: A. It may be factual, exaggerated, or completely deceptive. B. It was used by both the US and
where is the pancreas located in the human body
quantity supplied definition
which of the following hormones has a different effect when it is released in males instead of females?
what was a conclusion developed by john holland in his personality type theory?
Which of these modern legal concepts has roots in the Roman legal system?
who qualifies as a dependent
4x²+8x=1 by completing the square
how to prevent a hangover