create an SINGLE LINKED LISTS and reverse the data in the
lists completely
Answer Posted / vignesh1988i
dear sir ,
your logic might be incorrect , AND GIVE THE FULL PROGRAM SIR
sir you have told that TEMP pointer which point to the last
node.... ok ,for first you can swap the data.... ie STARTING
to TEMP. but how will you arrive at next pair of node for
swapping by decrementing the TEMP , ... a single linked
lists can travel only in one direction from HEAD till NULL
......
THANK U
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of scanf() and printf() functions?
What are types of structure?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
What is the use of ?: Operator?
Which is the memory area not included in C program? give the reason
what is the syallabus of computer science students in group- 1?
How can variables be characterized?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
What does 3 mean in texting?
What are multibyte characters?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
how can I convert a string to a number?
Why & is used in scanf in c?
Write a progarm to find the length of string using switch case?