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 kind of military force did the Confederation government have ?
Find the best word to complete the sentence: Members of the Flat Earth Society still believe the ___ idea that the world is flat. A. pretentious B. primordial
20 percent of what number is 14
Why the federal government was unable to maintain order in the new nation?
if you rubbed a piece of topaz against a piece of Quartz, what would happen?
Best way to study for french 2?
53 divided by 6324=?
What fraction is the same as seven tenths
Rewrite 2 x 5 as the same number added to itself over and over
9x+2y=36 9x+8y=36 What is the answer