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 is meant by the term endemic? how do species become endemic?
For every 2 cars you wash your friend wash 3 cars. You wash a total of 8 cars. How many did your friend wash.
the roman tuba was a military signal instrument usually about four feet long and was played using a detachable bone mouthpiece to which instrument classificatio
Three fifths of what number equals one
5- Residents unable to express a preference should be dressed:
Is this the correct pronoun? Bring Jan and I a newspaper
Match each of the adjectives on the left with its definition on the right. You may use a dictionary
what are three ways the Harlem Renaissance impacted African American
Seriously need help with this question or I will fail my senior year
State the advantages of hydroelectric power