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 spy realizes his cover is blown and flees toward his secret evacuation spot at a speed of 60 mph. Two hours later, a special agent in a helicopter starts chas
Examine a partial order relation where is the relation on the set of people such that if and are people and is older than .
What is the history of cough syrup
Calculate the accrued interest of the following bond on Feb 15 based on Actual/365 day count conventions provided last coupon was paid on Dec 31. ● ● ● Face val
2.1.1 723+586Rounding off the numbers to the nearest 100​
Benefits of online learning
WILL GIVE BRAINLIEST IF FAST!! GIVE GOOD REVIEWS FOR CORRECT ANSWERS!
9 in 7 in Surface Area = 12 in 11 in 19 in
Why was the Soviet Union displeased with actions in West Germany? A. German soldiers were stationed on the Soviet border. B. Free and fair elections were held t
List the criteria used in classifying computer systems