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 will be maximum number of comparisons when number of elements are given?

1845


explain what is an endless loop?

1031


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

1074


How can I direct output to the printer?

1270


What is the benefit of using const for declaring constants?

987


What is getch c?

1238


`write a program to display the recomended action depends on a color of trafic light using nested if statments

2072


what will be the output for the following main() { printf("hi" "hello"); }

10784


Explain continue keyword in c

959


What are the functions to open and close the file in c language?

984


What is the right type to use for boolean values in c? Is there a standard type?

963


#include { printf("Hello"); } how compile time affects when we add additional header file .

1849


How many types of functions are there in c?

1055


What is wrong with this initialization?

953


What does typedef struct mean?

1038