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

Four reasons why scientific names are important
which most likely could be a theme in realist literature? a. native americans were forced off their land. b. homesteaders were able to enjoy nature's beauty. c.
$1.50 for bike helmet what was the price before the 5 % sales tax
How to improve my personal fitness in 15ways
which kind of complement is the underlined word? leslie handed him a blue envelope. a. indirect object b. direct object (him)
In what way was the Nile both a benefit in a disadvantage for Egypt
(x+3)cubed, what's the answer? I think I have it but I have no clue if I've done it right!
What are typical causes of human rights violations
Which statement is true about organisms such as a horse and a fungi that are unalike? A. They are not related at all. B. Their degree of relatedness canno
What is a tool that shows the relationship between distances on a map and actual distances