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

How does a solution of ph 7 compare to a solution of ph 10?
Given 2 numbers which is greater the lcm or the gcf?
which island was influenced by islam first: borneo or mindanao
What was one kind of music that became popular in the 1920s?
Write an integer for each situation identify its opposite and describes its meaning Question: 5 strokes above par
Each of the diagrams below shows an electrically neutral atom. fill in the missing number of protons (n) neutrons (and), electrons (e), and atomic mass (m). the
science question down below
A submarine was situated 800 feet below sea level. If it's ascends 250 feet, what is its new position?
math question down below need answers for a b c and d please
what is the exponent used in cubing a number