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
why need of new operator in java why not in c++
why we need embedded system
difference between arrays and linked list in c language?
today apptitude questions
what is program data insulation in dbms?
I have Job A and Job B in jcl. I want to trigger Job B from Job A. Please advise.
I am pavani pursuing 4th B.Tech final semester i want to write the Group 2 Examination , Eligibility of that exam is all degree holders but to hold my Degree 3months are more. but the exam held on 3rd July 2012. i would be complete my B.Tech when exam to be held. so am i eligible to Group2 exam or not , please clarify my doubt.
Can a Student without engineering background appear for GRE means If he did Bachelor of science in Information technology i.e BSc(IT).
WHY WE USE {} AT THE STARTING OF C PROGRAM
pls i need a help from you friends, is there anybody who can help me out with the question been ask from the USA embassy. i will be going for interview next month pls help me
explain overloaded constrator © constractor
explain bug tracking system in detail.
Derive the equation that links voltage, charge and capacitance.
What is Landscape in Sap BW?
What is the pattern for HAL Online-exam?