Vidyalelo
C Programming · Q95

C Fundamentals

Programming · C Programming · question 95

Q95

We want to declare x, y and z as pointers of type int. The alias name given is: intpt The correct way to do this using the keyword typedef is:

A.
int typedef* intptr;
int x,y,z;
B.
typedef* intptr;
int x,y,z;
C.
int typedef* intptr;
intptr x,y,z;
D.
typedef int* intptr;
intptr x,y,z;
Answer

Answer: Option D

Solution

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