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

What is a void pointer in c?

1158


why do some people write if(0 == x) instead of if(x == 0)?

1133


What is the best way to comment out a section of code that contains comments?

1390


What is c standard library?

1272


What is %s and %d in c?

1108


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

2024


can any one provide me the notes of data structure for ignou cs-62 paper

2232


Can math operations be performed on a void pointer?

1107


Are enumerations really portable?

1079


What is an auto variable in c?

1296


Can a void pointer point to a function?

1083


How arrays can be passed to a user defined function

1072


Explain continue keyword in c

1068


What does 4d mean in c?

1564


Can a variable be both const and volatile?

1194