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

Two lines parallel to a third line are parallel to each other. never sometimes always
You are taking a survey on the heights of all your classmates. This is an example of categorical data. True or false
help with number 1 please. Thank you.​
Which of the following statements best describes the relationship between any point on an ellipse and each of its two foci? A. The quotient of the distances to
SImplify to standard form (a+bi) (12-9i)²
Identify each of the highlighted materials as an element, a compound, or a mixture, and explain your reasoning.
Match each item to its description by selecting an object from each group. Not all the items will be used.
A graphics designer is designing an advertising brochure for an art show. Each page of the brochure is rectangular with an area of 52 in^2 and a perimeter of 30
Which idea was unpopular in the Progressive movement?
What does NLU stands for?​