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

What is function and its example?

1227


Where register variables are stored in c?

970


what is a function method?give example?

2373


What is the difference between new and malloc functions?

1132


What is hashing in c language?

1322


Explain why C language is procedural?

1226


What is a stream?

1149


What is the function of volatile in c language?

1136


What are the 4 types of functions?

1061


Are there constructors in c?

1012


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

1236


Why static variable is used in c?

1037


Wt are the Buses in C Language

3221


What are header files? What are their uses?

1220


Write a program to swap two numbers without using a temporary variable?

1130