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

in "civil peace" by chinua achebe What are explicit details? A. details that are presented indirectly by the author B. details that the narrator stat
EMERGENCY! Nicole sells candy bars at a tailgate party to raise money for her school sports club. She bought them at 4 for $1, and sold them at 2 for $1. How ma
Please Help me!!! I know the answer but I don’t understand how to get that answer
Define: articles of confederation, ratification, full faith and credit, and shays rebellion
Please help, thanks! The numbers are there to help both you, and me.
How many grams are in 2.570 kilograms? (Give your answer in standard form.)
Do a strip of copper and a cube of copper have the same mass and the same volume
ehat is the additive inverse of the complex number 9-4i
Please help and show work!!! Find the line perpendicular to y=-1/4x+7 and goes through the point (1,1).
(500+n)-50 times 5=c