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

What countries are democracies?
Sake is made from the fermentation of: a. barley. b. fruit. c. rice. d. vegetable. e. any grain.
What are the advantages of using thew spinning jenny
About how long does water vapor remain in the air
Helmet please explain
How did Thomas Jefferson influence the development of democracy in the United States? A. He called for the United States to abandon the British system of co
A 17 kg box sitting on a shelf has a potential energy of 350 J. How high is the shelf? Round your answer to the nearest whole number. The shelf is m high.
Explain what you see in the image on the left, verses the image on the right. What a person sees when looking at the above two pictures depends on what concept
Treasure Island What conflict arises when Jim is hiding in the apple barrel and overhears Silver and the other men talking? A. Jim learns that Israel Hands
What's the answer? :)