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

The delegate who wrote the first draft of the Constitution
what 10x10x10x10x10x10x10000=
which sentence from The Happy Prince" best supports the idea that the Prince cares about people in his city? A.When I was alive and had a human heart' answered
whats they answer for they question 10+20
The map shows the physical features of Israel. Which letter on the map labels the Jordan River? O A O B O C O D
Which of the following statements about STIs is TRUE? You cannot catch an STI through kissing or touching. STIs are dangerous infections that cause serious dama
what's the perimeter​
If triangle MNO is rotated 180 degrees clock wise about the Irgun to form triangle PQR , what are the coordinates of the verticals of Triangle PQR? What conje
Please choose all linear functions with slope that is greater than jamals linear function.
A shopper paid $2.25 for 4.5 pounds of potatoes