Find the middle node in the linked list??
(Note:Do not use for loop, count and count/2)
Answer Posted / om
just use recursion .....it's simple......
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
How many types of operator or there in c?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
What is graph in c?
Write a program to reverse a given number in c language?
What is difference between union and structure in c?
How can I write a function analogous to scanf?
Can you please explain the scope of static variables?
Without Computer networks, Computers will be half the use. Comment.
What is a good way to implement complex numbers in c?
How do shell structures work?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
What oops means?
What is FIFO?
Why c is called top down?
Do pointers take up memory?