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

B)
coz ..linked list node contain two parts ..
one is address to next node
other is data part in single list....
writting keyword struct before NODE is must..

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are variables and it what way is it different from constants?

1205


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

3213


Can we change the value of constant variable in c?

1023


What are the features of c language?

1034


what are non standard function in c

1875


What is the use of static variable in c?

1057


What is the difference between exit() and _exit() function in c?

1038


What is conio h in c?

1011


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1690


what is a constant pointer in C

1111


Explain about the constants which help in debugging?

1328


What is the equivalent code of the following statement in WHILE LOOP format?

1261


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

1055


Write a program to know whether the input number is an armstrong number.

1085


How do you write a program which produces its own source code as output?

1078