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

Find the average of the following salaries: $52,500.00, $53,500.00 $55,500.00, $56,500.00
a 16 ounce box of macaroni costs $2.24.how much does the macaroni cost per ounce.
If you knew the number of valence electrons in a nonmetal atom, how would you determine the valence of the element?
What is the meaning of incorporated?
What is the product of its prime factors of 17?
What is 5% as a fraction in simplest form
Add -ance or -ence to the following word. You may use a dictionary. suffer sufference sufferance
The euglena's red eyespot is used for _____. photosynthesis binary fission detection of light detection of danger
Angle A and angle B are complementary angles. If m<A = x, which expression represents the number of degrees in angle B? (1) x - 180 (2) x - 90 (3) 180 - x (4
the rank of blood cells in a normal person and one with polycythemia is the same. how can you conclude that the person has polycythemia?