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 / santhoo035

d)

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is a house a mass structure?

639


What does do in c?

608


How do I create a directory? How do I remove a directory (and its contents)?

604


How can you read a directory in a C program?

651


What is define c?

574






What is indirection? How many levels of pointers can you have?

659


What's the best way of making my program efficient?

627


Who developed c language?

641


What is #include called?

567


Is int a keyword in c?

555


What is the difference between declaring a variable by constant keyword and #define ing that variable?

2699


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

4987


What is else if ladder?

607


what are bit fields? What is the use of bit fields in a structure declaration?

1499


How will you write a code for accessing the length of an array without assigning it to another variable?

613