Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Differentiate fundamental data types and derived data types in C.

1092


Is there a way to compare two structure variables?

1174


How do we make a global variable accessible across files? Explain the extern keyword?

1941


What is selection sort in c?

1180


What are disadvantages of C language.

1226


Is c is a low level language?

1213


how to write optimum code to divide a 50 digit number with a 25 digit number??

3301


Can the curly brackets { } be used to enclose a single line of code?

1218


An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array

1196


How do we open a binary file in Read/Write mode in C?

1278


How can I run c program?

1234


Is c is a middle level language?

1127


What are the types of type specifiers?

1100


How can you draw circles in C?

1198


Write a Program to find whether the given number or string is palindrome.

1344