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

Which sentence best supports the inference that the narrator's mother had been hoping to spend a day with her daughter before she started high school? A. So, I
solve 5x-97>-34 or 2x+31<29
PLEASE ANSWER ASAP!! Do u get Bitesize in America, China, India or Australia?
The difference of the square of a number and 16 is equal to 6 times that number. Find the negative solution
What is the argument of -4+4i
Disagreements over the ratification of the Kyoto Protocol are primarily concerned with: A. the obligations of wealthier nations to reduce carbon dioxide emissi
If the exchange rate of euro to the US dollar is one euro equals $1.13 how much would you receive if you wish to exchange €235?
Please I need help with this Question
Countries of origin for Middle Eastern / Arabic Americans include all of the following except
What is the solution to the equation?(A) d = –4 and d = 2(B) d = –2 and d = 4(C) d = 1 (D) d = 2 MY LAST QUESTION HELP.​