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 pointers in C? Give an example where to illustrate their significance.
What are the different properties of variable number of arguments?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
What is the use of structure padding in c?
Why is c so important?
What is main function in c?
What is indirection? How many levels of pointers can you have?
What is logical error?
Explain built-in function?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
How are variables declared in c?
What is indirection?
How do I convert a string to all upper or lower case?
Why is struct padding needed?
how to count no of words,characters,lines in a paragraph.