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

B is the answer..
b'coz in struct node *next only specify the address of the
next node.. others not..

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to find out prime number using sieve case?

2055


What are the usage of pointer in c?

1147


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

2257


How can you increase the size of a statically allocated array?

1055


Do pointers need to be initialized?

1039


What are called c variables?

1028


Where define directive used?

1046


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

1218


What is string concatenation in c?

1043


Explain what happens if you free a pointer twice?

1039


Is there a way to switch on strings?

1048


Are pointers integer?

971


which is an algorithm for sorting in a growing Lexicographic order

1757


Explain continue keyword in c

978


Explain how do you determine the length of a string value that was stored in a variable?

1111