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 is character constants?
What is the difference between ++a and a++?
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
What are the two types of structure?
What is bubble sort technique in c?
Explain what is meant by high-order and low-order bytes?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
What is size of union in c?
Are bit fields portable?
Can a pointer be static?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
Explain what does the function toupper() do?
Tell us bitwise shift operators?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
Why is python slower than c?