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
Why we write conio h in c?
How can I automatically locate a programs configuration files in the same directory as the executable?
What is const volatile variable in c?
What are the different types of pointers used in c language?
how could explain about job profile
Explain the difference between the local variable and global variable in c?
Difference between pass by reference and pass by value?
Where local variables are stored in c?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
Do you know the difference between exit() and _exit() function in c?
What extern c means?
What is a static variable in c?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
Tell us bitwise shift operators?
What is anagram in c?