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 is considered a major contribution of Mesopotamian civilization? A. They discovered how to cultivate cotton. B. They invented a complex system of writing
What is the interest earned at $350 at 3% for 10 years
An object has an acceleration of 0 m/s². Does this mean that the object must be stationary?
What part of the body must Cupid's arrows hit to be effective?
Which igneous rock has large crystals surrounded by smaller crystals
What arouses men more than any other scent in the world (according to the Smell & Taste Treatment and Research Foundation in Chicago)?
I just need some basic facts about john green, thanks xxx
2x -y=-1 3x-2y=1 elimination somebody do this for me
Help! Donovan runs about 2.5 miles each day. In 3 weeks, about how many miles does he run?
What should I write about in my Composition Essay?