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 mass of ammonium nitrate is needed to dissolve in 995 g of water to make a 1.50 m solution?
4. essay on first day of school with proper nouns nd common nouns​
Avogadro's number is the number of atoms or molecules in one mole of any substance. In other words, a mole is 6.02X1023 of some chemical unit. The size of the c
Help my son please!!!
Question A business operates based on a mark-up on cost of 40%. If opening inventory was GHC 5,000, sales were GHC 98,000 and purchases were GHC 71,200, calcula
difine jack screwplease help me​
Vector g is shown below. Vector h is parallel to g, in the same direction and half as long. Work out h as a column vector. 9
(sleep) The child is in the bedroom.He____.​
3. Explain the connection between at least some of the statistics in the "standard of living" section of the table and in the "economy" section. How can improvi
Rachel Carson: Everywhere was a shadow of death. The farmers spoke of much illness among their families. In the town the doctors had become more and more puzzle