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

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.

1685


What is size of union in c?

1019


What does static variable mean in c?

1097


Explain how can I pad a string to a known length?

1189


How can I call fortran?

1039


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.?

1067


What is optimization in c?

999


What are enumerated types?

1183


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

1044


What is c variable?

1040


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

1051


What kind of structure is a house?

1038


What is the difference between int main and void main in c?

1175


Why do some versions of toupper act strangely if given an upper-case letter?

1076


What is preprocessor with example?

1055