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

~ Solving Literal Equations ~ Solve for y 4x + 2y = 14
Tickets for a concert cost $2 each for children and $5 each for adults.A group of 30 people consisting of children and adults paid a total of $87 for the concer
I need help with this question. Write the equation in standard form. Identify A,B, and C. 5/2x-9=8y
Please help In the sequence below the first term is 2 and each term after the first is k times the preceding term where k is a constant. What is the value of th
In 2006, the population of a country was 50.3 million people. From 2006-2050, the country's population is expected to decrease by 6.5%. Find the expected popula
Lea buys 20 picture frames. Some are 4 in. by 6 in. frames which cost $5.80 each, and the rest are 5 in. by 7 in. frames that cost $9.60 each. She spends a tota
how do i factor the quadratic expression   4x^2-11x=3
what is the coefficient for the formula 6C6H12O6?
How do u write 0.0000000405 in scientific notation ?
What type of word indicates that a noun is to follow?