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

Which of the following most accurately describes the current understanding of energy? * A. The greater the mass of all the components of any system, the greater
What was Anne’s most important birthday present
Does anyone know the term to this?
Initial population is 4000. Annual growth rate is 1.6%. Find the population in 12 years.
On the first day of spring, an entire field of flowering trees blossoms. The population of locusts consuming these flowers rapidly increases as the trees blosso
Write each phrase as an algebraic expression. Four times a number A number divided by 14
which of the following are characteristics of lilliputians in gullivers travels
A sequence is generated by an=-2n+8. What is the value of the ninth term
2x+3y=12 find four solutions​
Mrs. Johnson's first test's data: 59, 22, 87, 44, 96, 38, 70, 85, 79. The third step in creating a Box-and-Whisker plot is to determine Q3 which is the median o