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

I think I got the answer but I'm not sure. Help?
sam purchased 3 games for $140 after a 30%discount. what was the original price
Macy's department stores markup men's cologne 63% on cost for an 8 ounce bottle. A bottle of cologne costs Macy $23.00. What is the selling price for the 8 ounc
What did the acquisition of territory in 1803 between the United States and France become known as?
Why did Mesopotamian farmers set up irrigation systems
There is 1/4 ounce of yeast in every 2 1/4 teaspoons of years. A recipe for bread calls for 2 teaspoons of yeast. How many ounces of yeast are needed for this r
tamara says that 15 / 3 = 5 is she correct ? explain
sam purchased 3 games for $140 after a 30%discount. what was the original price
The location of a post office is marked at (2,2) on a coordinate grid. Which point is about 18 units from the location of the post office? L(-12,9) M(12,9) N(1
What is the representative particle of Fe?