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

what is the empirical formula when given the molecular formula?
Why is Charlie so frustrated with Sophie? She won't share her food. She won't give him any money. She insists that what is his is also hers.
In government, many social actors such as senators, legislative aides, and voters work together as a complex group of interdependent parts to influence society.
If your path variable is not set to search the working directory, how can you execute a program located there?
Name three important needs for water?
Solve for the variable: x – 2.8 = 1.6 3.4 -1.2 2.3 4.4
How much money does 32 ounces of broccoli cost
A squirrel helps carry out a plant’s reproduction. Arrange the steps in the correct order, starting with successful pollination.
How do you solve m=10x-x for x
Study the Proof Given. List the reasons for Items 2,3, & 4. Right the number and then the answer. Question 1 options: