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

Janine is considering buying a water filter and a reusable water bottle rather than buying bottled water. Will doing so save her money? First, determine what in
When Herbert describes the borders of New Hampshire as "...an idea."- what does she mean?
Which phrase correctly describes the following expression?(5+23)
According to your text, the latin word "persona" means:
What should a student do with their notes after class? a. Store them in their notebook and study them only right before a test c. Rewrite the notes to better un
How many times does 15000 go in to 3000000?
Individuals with an internal locus of control believe that their actions will make a difference in their health. a. True b. False
If x represents the width of a rectangle and if its length is twice its width how long is the rectangle
The orbital cavities , nasal cavity, paranasal sinuses, and the oral cavity are all located in what region of the body
How are officials elected into office in a direct democracy