If you are using C language to implement the heterogeneous
linked list, what pointer type will you use?



If you are using C language to implement the heterogeneous linked list, what pointer type will you..

Answer / vivek sharma

The heterogeneous linked list contains different data types
in its nodes and we need a link, pointer to connect them.

It is not possible to use ordinary pointers for this.

So we go for void pointer. Void pointer is capable of storing
pointer to any type as it is a generic pointer type.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More General Aptitude Interview Questions

8 persons A,B,C,D,E,F,G,H are sitting in a round dining table.some arrangement was given and position of H was asked.I don't remember the question exactly.

0 Answers   Accenture,


pls.send me the prvus. yr central bnk of india's clerkship exam solved question papers......

0 Answers  


3. Given 1000 bottles of juice, one of them contains poison and tastes bitter. Spot the spoiled bottle in minimum sips?

10 Answers   Microsoft, Wipro,


Question I Need Change For 1000 Rs It Should Not Be 100 Rs Notes But It Should Contain 10 Notes, Any Ideas?

6 Answers   Arashan Plastic,


Reversing the digits of father's age we get son's age. One year ago father was twice in age of that of his son? find their current ages?

0 Answers   HCL, Infosys,






plz send test pattern of nsn engineers graduate.

0 Answers   MTN, Urjanet,


sir could u send me andhra bank clerical model papers

1 Answers   Andhra Bank,


If wind flows 160 miles in 330 min, for 80 miles how much time required.

0 Answers   TCS,


what is the difference between functions and member functions? what is meant by cloud computing?

1 Answers   HCL,


There are 100 doors all are closed. The below action is taken 1) all are opened 2)all multiple of 2's are togelled ie if open close or viceversa .....100 times. What is the status of the door after 100th.

7 Answers   Vizag Steel,


What is the job profile

0 Answers   IOCL,


G(0)=-1, G(1)=1, G(N)=G(N-1) - G(N-2), G(5)= ?

0 Answers   Accenture, BSNL,


Categories