Vidyalelo
C Programming · Q3

Pointer

Programming · C Programming · question 3

Q3

In C, how do you declare a pointer variable that can store the address of an integer?

A.
int *ptr;
Answer
B.
ptr int;
C.
int ptr;
D.
ptr *int;

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board