Which of the Following will define a type NODE that is a
node in a Linked list?
A)struct node {NODE*next;int x;};type def struct node NODE;
B)typedef struct NODE {struct NODE *next;int x;};
C)typedef struct NODE {NODE *next;int x;};
D)typedef struct {NODE *next;int x;}NODE;
Answer Posted / vikraman85
B is the answer..
b'coz in struct node *next only specify the address of the
next node.. others not..
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is the difference between c and python?
What is use of integral promotions in c?
In C language, a variable name cannot contain?
Explain how can I convert a number to a string?
What are the application of void data type in c?
how is the examination pattern?
what are the different storage classes in c?
Describe the modifier in c?
What is c token?
how many key words availabel in c a) 28 b) 31 c) 32
What are the 5 elements of structure?
What is null character in c?
What are unions in c?
What is the use of sizeof () in c?
Write a code to determine the total number of stops an elevator would take to serve N number of people.