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

What is the rate at which electrical energy is converted into another form
Why was the Mississippi River important to the United States in the late 1700s?
In ______ , contagious diseases had a profound impact on the Aborigines. a. Australia, b. New Zealand, c. Papua New Guinea.
What is the rate at which electrical energy is converted into another form
Find the distance, to the nearest tenth, from T(4-2) to U(-2,3)
u 8. If a car travels 140 kilometers in 2 houUl70 kilometersB 280 kilometer per hourC. 70 kilometers per hour140 kilometers per hourCar
Greek fire was used by the
When lost fluid is not replaced adequately, __________ can result. a. heat stroke b. hypothermia c. dehydration d. emphysema
What is the SI unit for molar mass? a. gram. c. mole. b. gram/mole. d. mole/gram.
Excretion rates of drugs vary greatly depending upon__________________. a. The type of drug and length of time since it was ingested b. The type of drug involve