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

What us halfway between 7.5 and 10
Was the Japanese attack on Pearl harbor a success or failure from the Japanese point of view?
What kind of operation do you use to find the area?
John spends time writing down topic ideas for his research project. which step of the writing process is he actively involved in? A. Pre-writing B. Planning C.
Jamaica's class has 24 students. if 1/8 of them play piano, how many students in her class play piano?
List five reasons England sent settlers to new world
y=3x-5 3y-12x=-6 Substitution method
what government policies helped American industry to produce large quantities of war materials?
how do I solve 3a = 9
Explain what this document tells you about life in the United States during the early 1800s