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


Please Help Members By Posting Answers For Below Questions

why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

937


Is main a keyword in c?

871


What is a scope resolution operator in c?

990


Why is C language being considered a middle level language?

878


What is the significance of scope resolution operator?

1157


Where define directive used?

859


Why array is used in c?

816


What are the different file extensions involved when programming in C?

1037


When should you use a type cast?

842


What is string function in c?

778


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

936


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

1747


Explain 'bit masking'?

861


FILE PROGRAMMING

2027


Write a program to reverse a given number in c?

818