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

A sports ball has a diameter of 16cm. Find the volume of the ball
How was the organization of the government under the United States Constitution different from the system under the Articles of Confederation? A. The Constit
-6n+21 =12n-15 I need help solving the equation
plzz help me i need an answer
The molecules of DNA produced in replication are... 1.Identical 2.complementary 3.mutated 4.connected
What would an Athenian think, hear, feel, and wish (I don’t need a paragraph I just need some suggestions, thx) 11 points
Need help with a two-part question (pictured)
Please help need help
If I have a liquid substance with a mass of 100 g and a density of 10 g/ml, what’s the volume?
PLEASE HELP MARKING BRAINLEST !! I DO NOT HAVE THE GRAPH BC MY COMPUTER ISNT WORKING CORRECTLY SO IF YOU CAN DO IT WITHOUT THE GRPAH PLEASE DO OR WRITE YOUR EMA