Sail E0 Webinar
Question


In the following code snippet can we declare a new typedef named ptr even though
struct employee has not been completely declared while using typedef?


typedef struct employee *ptr;
struct employee
{
char name[20];
int age;
ptr next;
}
Options:
A .  Yes
B .  No
Answer: Option A



Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers