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

How can different literary devices be used to create meaning or certain effects in literature?
Graph the function. y = 1/5 (3)^x Graph A. B. C. or D?
which of the following refers to the excess water from rainfall that moves over land carrying sediment1.barrier beach2.gully3.runoff4.sandbar
Geometric series help please!!!!
The coefficient of kinetic friction between a suitcase and the floor is 2.76. if the suitcase has a mass of 71.5 kg, how far can it be pushed across the level f
Match the following vocabulary words with the correct definitions.(with the numbers) 1. green pigment needed for photosynthesis
I have a past due balance of $87.50 and my new charges are $75.00 I was also charged a late fee of 15% of my past due balance. What is my new total
Define in sentence form new world microbes and Old World
Write the equations after translating the graph of y=|2x|−1: one unit up
Factor w2 + 8w + 16, if possible. If the polynomial is prime, say soFactor 3y2 + 10y + 7, using the AC method. If the polynomial is prime, say so.