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 solid part of Earth
You are asked to draw a triangle with side lengths of 6 inches and 8 inches. What is the longest whole number length that your third side can be? A) 13 inches
how can I put parentheses in 25 ÷ 5 - 4 = 25
which is an example of the law of demand at work? a. the price of pizza goes up when the price of cheese goes up b. Demand for pizza goes down when tacos become
In ΔDEF shown below, segment DG is an altitude: Triangle DEF with segment DG drawn from vertex D and intersecting side EF. Which of the following is a step towa
How does a sound wave increase the kinetic energy of the particles in a medium
Which expression is equivalent to -3 2/3
a rectangular park has an area of 2/3 of a square mile . the length of the park is 2 2/3 the width of the park?
Help!!!!!! please gotta get this right
my question would have to be #6 plz help