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 are the disadvantages of c language?
a c code by using memory allocation for add ,multiply of sprase matrixes
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
How do I use void main?
How can you tell whether a program was compiled using c versus c++?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
How to get string length of given string in c?
What are global variables and explain how do you declare them?
What are the different types of control structures in programming?
What does != Mean in c?
why do some people write if(0 == x) instead of if(x == 0)?
What will be the outcome of the following conditional statement if the value of variable s is 10?
can any one tel me wt is the question pattern for NIC exam