Find the middle node in the linked list??
(Note:Do not use for loop, count and count/2)
Answer Posted / kar..
move the front pointer and rear pointer at equal
intervel,these both pointe will meet at one node is middle...
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What are preprocessor directives in c?
What is else if ladder?
What is indirection?
What is calloc in c?
Tell me when is a void pointer used?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
What is sorting in c plus plus?
What are the different categories of functions in c?
What is exit() function?
What is return in c programming?
What is use of null pointer in c?
Why static is used in c?
What are the types of type qualifiers in c?
Explain what are run-time errors?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above