Find the middle node in the linked list??
(Note:Do not use for loop, count and count/2)
Answer Posted / vadivel
U mean without any looping statements r just for loop?????
It can be done in a single traversal using Hare n turtle
method as said above using a for or while loop.....
Without using looping statements d list can't be traversed..
Plz make the question clear.....
Is This Answer Correct ? | 3 Yes | 10 No |
Post New Answer View All Answers
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
What are the primitive data types in c?
Why does notstrcat(string, "!");Work?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
What is unsigned int in c?
Explain zero based addressing.
Explain the use of keyword 'register' with respect to variables.
Are there namespaces in c?
What is null pointer in c?
What is null pointer constant?
Explain what are the different file extensions involved when programming in c?
What is the deal on sprintf_s return value?
What is typedef?
I have seen function declarations that look like this
Why is c fast?