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


Please Help Members By Posting Answers For Below Questions

What is an endless loop?

1066


Is c call by value?

820


i got 75% in all semester am i eligible for your company

1961


What is void pointers in c?

789


Write a program to swap two numbers without using the third variable?

832


Explain what is wrong with this statement? Myname = ?robin?;

1340


Is there sort function in c?

803


what does static variable mean?

866


application attempts to perform an operation?

1748


What is the value of uninitialized variable in c?

806


Explain what is the best way to comment out a section of code that contains comments?

939


Explain what is the difference between null and nul?

908


What is time complexity c?

764


Why are algorithms important in c program?

859


Is c is a low level language?

818