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

students' O plural, common plural, proper possessive, common possessive, proper
FAST PLS WILL GIVE BRAINLIEST!!! What are the different offensive and defensive strategies that are used in water polo? Which strategies do you think are the mo
Find the radius of the two other circles
Describe the importance of traditional skills and technology
Where was the first permanent European settlement in North America found? A) Richmond, Virginia. B) St. Augustine, Florida. C) Plymouth, Massachusetts. D) Roano
The ancient Romans developed the religious beliefs from?
explain how Coca-Cola was turned into a global brand.​
Please answer correctly and no links​
Discuss how Knowing about Allied health professionals
What is the phenotype? One of two identical "sister" parts of copied chromosomes One member of a pair of genes that occupy a specific position on a specific c