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

Brody added a fraction to 5/6 to get 31/30. Use the equation a/b + c/d = (ad +bc)/ bd to find the fraction he added
Find all points having an x-coordinate of 4 whose distance from the point (-2,-1) is 10
Brody added a fraction to 5/6 to get 31/30. Use the equation a/b + c/d = (ad +bc)/ bd to find the fraction he added
write an equation in point-slope from for the line that has a slope of 6and contains the point (-8, -7)
If a 21 ounce box of cereal costa $2.94,what is the unit price.
PLEASE HELP IS THE OLD YELLER !!!!!!!!!!!! When does Mrs. Coates first demonstrate that she recognizes Travis is taking on his father's role? A. when Travis go
15 is 70% of what number
the form of city government merges executive and legislative functions in single group of officials
All real number zeros of the polynomial 2x^4 + 4x^2 + 6x^9 - x + 3x^9 - 5x^9 + 2x^8
How are carbon, hydrogen, and oxygen alike?