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

A boat crossing a 153.0 m wide river is directed so that it will cross the river as quickly as possible. The boat has a speed of 5.10 m/s in still water and the
If you want to prepare 80.0 mL of 4.00M acid ,How many mL of 12.4 M HCl are required ?
If you had 36 cookies and gave 1/2 to one friend and 1/4 to another, how many could you have left?
EASY POINTS Which answer represents the following conditional statement in shorthand?
What is the mood of the excerpt
The practice of leaving crop residue on the field between plantings to help prevent soil erosion is known as
What is the climax of the book The Outsiders
Match these items. 1. perceived in the conscience 2 validity 2. truth or soundness 9 canonicity 3. without error 6 skepticism 4. an introductory study 13 spurio
Explain why In 4 is greater than 1 but is less than 2. PLEASE HURRY
Given circle N with chord AB, which point lies on the perpendicular bisector of AB?