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

write a letter to your father about your favourite teacher​
The width, w, of a rectangular garden is x-2. The area of the garden is x3 - 2x-4 an expression for the length of the garden? Ox?-2x-2 O x2+2x-2 Ox? - 2x+2 Ox2+
Help me please In 6 seconds, a total of 3 waves crash into a cliff. The distance between 2 adjacent wave crests on the water is 8 meters. what is the wavelength
The number of adults at an amusement park, measured in hundreds of people, is represented by the function a(w)=−0.4w^2+5w+9, where w is the number of weeks sinc
what can I do to help indigenous communities​
Each side of a square field is 14/3m, find its area.​
James Cox, Democratic candidate for President, argued that President Wilson's efforts had saved "civilization."
Which of the following makes an inference based on historical context ?
Find the MEDIAN for the data set: 8, 4, 6, 6, 8, 2, 6,5
complete this statement: 16a^2x^2+20a^2x+12a^2 = 4a^2 (____)​