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 / gorgeousgirl
all the four given options throws error...
the correct answer should be:
typedef struct node NODE;
struct node {NODE*next;int x;};
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
What is size of union in c?
What does static variable mean in c?
Explain how can I pad a string to a known length?
How can I call fortran?
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
What is optimization in c?
What are enumerated types?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
What is c variable?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
What kind of structure is a house?
What is the difference between int main and void main in c?
Why do some versions of toupper act strangely if given an upper-case letter?
What is preprocessor with example?