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 circulation of a newsletter decreased from 5200 to 3140. Find the percent of decrease in circulation to the nearest percent.
i'm not quite sure how to do this
What is 0.00002 in scientific notation?
Which documentation system is most frequently used for English papers? APA Chicago CSE MLA
Subtract these polynomials. (3x2 + 3x + 3) - (x2 + 2x + 3) = A. 2x2 + x B. 2x2 + 5x C. 2x2 + 5x + 6 D. 2x2 + x + 6
What is the volume of a rectangular prism with a height of 8in, width of 13in, and a length of 2ft? Give your answer in cubic inches.
All of the following were components of the Virginia Plan EXCEPT:
The 1825 anti-czarist Decembrist revolt in Russia was led by ___
In "Sympathy," what does the speaker understand about the caged bird's song? A. It is a carol of joy or glee. B. It is too quiet for anyone else
A box has 8 beads of the same size, but all are different colors. Tamy draws a bead randomly from the box, notes its color, and then puts the bead back in the b