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

Which of the following individuals created the Black Entertainment Television (BET) network and became the first African American billionaire? A. Oprah Winfrey
What human activity is responsible for global climate change?
Which of the following was the least cause for the split between Jeffersonians and Hamiltonians? A. the Bank of the United States B. the French Revolution C.
2. Where is the Prime Meridian Located?
Hi pls help asap due in 39 minutes
A programmer wants to write code that directly accesses the computer’s hardware. Which is the best type of language for the programmer to use?.
How To Get To London Southend Airport Taxi?
Which sentence contains a common allusion? A. She's acting like Cinderella. B. She's behaving strangely. C. She went on a trip to Cairo. D. She loves watching m
he music found at Native American powwow events is most often associated with the ______ cultural region.
Solve: 6 -0.2x = 2 (6 -0.6x) A. x=0 B. There are infinitely many solutions. C. x = 6 D. x = 18