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

Select all of the trips that would take two hours. a. Drive 60 miles per hour between Raleigh and Wilmington, which are 120 miles apart b. Walk 3 miles per hour
PLEASE HELP I DONT UNDSRSTANT
I will give BRAINLIEST plz help
What is the biggest earthquake in us history?.
How did the Ming view other countries?-They considered all foreign peoples to be China’s equals.-They believed China should pay tribute to its neighbors.-They t
How many soldiers were killed in the civil war
Brainliest if correct OK History Final Assessment POSSIBLE POINTS: 4 What two major events led Timothy McVeigh form negative opinions about the US government an
Determine which statement is true if JKLM ~ NOPQ
_____ are your classmates? – They’re in the computer room. A. What B. Where C. When D. Who
Please write 4-5 sentences about what you see in this image. Include what you think happened after the photograph was taken.