If you are using C language to implement the heterogeneous
linked list, what pointer type will you use?
Answer Posted / rpr
In linked list a 'pointer' points to the next node which is written in a 'structure'. so we will use "struct node" as pointer data type.
struct node
{
void data; // void can be used here for heterogenous data
struct node *ptr;
};
Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
pls its urgent!!!!!!! can u tell me which companies are hiring fresher for industrail training???i know only two companies cmc which is in bandra n biz tech solution in kandivali. can anyone knows other companies??how much fees r they taking?? what about biz technology?this company is good to join if anyone has did d industrial training in biz technology then pls reply as urgent as possible. thank you ....waiting for replyyyyy
PLEASE SUGGEST THE BALLY PLACEMENT PAPER PATTERN ABOUT WRITTEN TEST,INTERVIEW,HR.ITS URGENT. AS BALLY IS GOING TO VISIT OUR CAMPUS.
write a programe to print this string in reverse order and find out how many times letter c is repeated? string = { c was desined by dennis ritchie}. also find out the lenth of the string.
if u r using bugzilla then it generates automatic bugids,while testing uhave got a bug then bug is represented through a bug id say bug1, then bug is assigned to developer he fixes a bug ,say the bug is fixed no error is got later after few regression cycles u have got the same bug but the bug is represented by diff id say bug2,tell me how do i come to know that it is the same bug that had occured previously but now it is represented by diff id
Hello sir i finished my BE computer 2009 batch. I'm not gud at programming like 0 knowledge and i'm not interested in it too . Except this programming field is anyother option to afford into a new one ??????? can anyone help me plz
how to make resume and what should I include in it?
plz explain abt refrigeration r22 bitzer comprassors trouble shooting and maintenance
Explain i.d.e. for visual c++?
How we calculate the recovery of steam as per coal in a boiler if we know the calorific value of coal?
discuss the conditional formatting and advanced filtering features in MS-Excel with suitable example
What are annotations? What are assertions? why they are used why not if-else?? what is normalization? what is QuickSort? what are Avl trees?
Given a number (N), program to check whether its binary form has periodic or not
requirement:To move display statements in a cobol program to a dataset.These display statements were not in main program but in calling program and we were not allowed to move these info via sysout dd dsn='dataset.name' . please let me know the ways this can be handled
can i learn ad. java without learned core java? java is best or .net is best for summer training?
how do we calculate physical address if logical address is given in the question?