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

Any gïrls here free to talk
What is the largest known number called?
100 POINTS 6 different answers needed, and a chart filled out I'll work on it on my own, but I do need some help and it would also be nice to compare my answe
Which of the following statements best describes the formation of volcanoes?
the answer is 20/13 you can simplify the answer.
how much is 409,000x509,000
The measure of an angle is 34.6°. What is the measure of its complementary angle?
True or false everyone in the colonies could vote
NEED AN ANSWER NOW!! ITS WORTH THE POINTS!! DUE TODAY AT 10!!!!! The grid above shows the graph of the parent function and a translated functions graph. Write
I will give 50 points answer all why the order of the proof is correct d,a,c,b Please explan dosnt have to be super detailed haha 9. Order the steps below to co