Vidyalelo
C Programming · Q122

Pointer

Programming · C Programming · question 122

Q122

Comment on the following pointer declaration. int *ptr, p;

A.
ptr is a pointer to integer, p is not
Answer
B.
ptr and p, both are pointers to integer
C.
ptr is a pointer to integer, p may or may not be
D.
ptr and p both are not pointers to integer

Answer: Option A

Solution

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