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

Help SCIENCE ASAP! Name two hormones produced by the ovaries and explain what they do.
someone please help picture shown
how does ppm compare to ppb?
The median of the set {0, 0, 4, 6, 6, 8} is
6^5 divided by 6^3 I know the answer is 36 but I am not sure how to show my work
What is the area of this trapezoid?
What is the value of 2.8 liters in milliliters? A. 2,800 mLB. 28 mLC. 28,000 mLD. 280 mL
John did not know that Jesus was greater than he was. True False
A special forum of thick, yellowish milk that is produced three days after birth and is rich in nutrients and antibodies. diabetes colostrum eating disorder
Jerome is cooking dinner. He needs 8 ounces of broccoli for each person. Jerome is not sure how many people will come to dinner. Write an expression with a vari