makrosebud7435 makrosebud7435
  • 22-08-2019
  • Computers and Technology
contestada

The statement:

int *ptr;

has the same meaning as

A.
int ptr;

B.
*int ptr;

C.
int ptr*;

D.
int* ptr;

Respuesta :

ExieFansler ExieFansler
  • 29-08-2019

Answer:

D. int* ptr;

Explanation:

int *ptr; it is pointer used to hold address of another integer variable.In the options provided we have int ptr that is an integer variable of name ptr.

*int ptr; is wrong this will give error because first we have to write the data type.

int ptr*; is an integer varaible with name ptr*.

int* ptr; is a pointer which can hold the address of another integer varaible.

Answer Link

Otras preguntas

If 1+4=5; 2+5=12; 3+6==21; what is 8+11
how can a driver best be prepare to enter sharp curves
I need help please what are some negative effects of stress on an individual? For this discussion, I would like everyone to explain how stress affects an indivi
Can anyone to correct it if necessary?
Frank uses improper body position to lift a heavy box and strains the muscles in his lumbar region. which muscles are most likely to be involved in this injury?
What is the power output of an electric motor that lifts a 2.0 kilogram block 15 meters vertically in 6.0 seconds
PLEASE HELP ME ASAP 10 POINTS
Joe made 15 points in a basketball game, 3 points are given for a long shot, 2 points given for a field goal, and 1 point is given for a free throw. In how many
Please help me with this Imma on a time limit
calculate the perimeter of a quadrilateral 3 cm 2 cm 2 cm 5 cm