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
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
Explain do array subscripts always start with zero?
How to Throw some light on the splay trees?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
How do c compilers work?
Explain what is page thrashing?
Why is #define used?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
Explain how many levels deep can include files be nested?
Can a void pointer point to a function?
What is meant by 'bit masking'?
How are structure passing and returning implemented?
How can type-insensitive macros be created?
Where can I get an ansi-compatible lint?
What is the difference between if else and switchstatement