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

Describe the key features of the parabola y^2=8x
Helpppp pleaseeee thannkkss
An immediate result of the 1836 revolution in Texas was that it became
Which statement about spontaneous and nonspontaneous processes is correct? Spontaneous processes are favored by a decrease in H, but nonspontaneous reactions ar
The wavelength of an electromagnetic waves is __________ also known as the period. the number of waves that pass a given point in space. the negative of the fre
Which of these is a geometric sequence ?
How does stress affect your respiratory system? Please select all correct answers. 38 points! A. shortness of breathe B. rapid breathing C. slow breathing D. i
Which of the following are true statements about regular polygons? check all that apply.
PLEASE HELP EXTRA POINTS / WRONG ANSWERS WILL BE REPORTED Question 1 (Multiple Choice Worth 7 points) Use the given graph to determine the limit, if it exists
Decide whether Kaleena should make her decision based on an emotional response or using intellectual standards and explain why.