Question
typedef struct employee *ptr;
struct employee
{
char name[20];
int age;
ptr next;
}
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;
}
Answer: Option A
Submit Your Solution Below and Earn Points !
Submit Your Solution Below and Earn Points !
More Questions on This Topic :
Question 9.
What is x in the following program?
#includ....
Question 10.
What will be the output of the program?
....
Submit Solution