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
Explain the process of converting a Tree into a Binary Tree.
What is the difference between printf and scanf )?
When we use void main and int main?
How will you delete a node in DLL?
What kind of structure is a house?
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
How will you divide two numbers in a MACRO?
What is wild pointer in c with example?
Which node is more powerful and can handle local information processing or graphics processing?
write a program to rearrange the array such way that all even elements should come first and next come odd
Why do we need arrays in c?
What is the difference between %d and %i?
By using C language input a date into it and if it is right?
How is a structure member accessed?
What is the use of extern in c?