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

Dimitri has a pool surrounded by concrete in his backyard. The dimensions of his backyard are 12x+2 units by 14x-2 units. The dimensions of his pool are 5x-3 un
A fair six-sided die is rolled. Find the probability of getting a 4.​
Find the equation of a line whose slope is one-half and y-intercept is 2.
I could use your help here​
9. The conclusion should include a. relevance b. review C. summary d. all of the above
How did the Haitian slave revolt impacted slaves in Louisiana
M<A=45A. straightB. obtuveC. rightD. acute​
PART B: What was Lincoln's most likely
14. Killer whales share more traits with dolphins than whales. Therefore, they are the largest members of the dolphin family. A.) Claim B.) Evidence C.) Reasoni
Explain One similarity between the trade in the Indian Ocean networks before the arrival of the Portuguese and the trade after their arrival c. 1450 - c. 1750.