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

name one way a parallelogram and a rhombus are different
12. The Kansas-Nebraska Act nullified the Missouri Compromise byA. allowing slavery's spread to areas that had been free for more than 30 yearsB. abolishing sla
(picture) someone help me answer my biology
There are many different ways to classify matter, but one way is to use only two categories for all matter. All matter can be classified as either a. liquids o
Someone help please.
How does the montagues helps romeo n juliet
¿Preparo los pasteles?
where did many colonists settle as more people moved to Maryland and Virginia
How is it possible for a male and a female who both have brown hair since birth produce a child with blond hair?
a triangular shape has an area of 70 square inches the height is 8 and three fourths write and solve an equation to find the length of the base