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
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
praagnovation
What is structure in c language?
plz let me know how to become a telecom protocol tester. thank you.
Where we use clrscr in c?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
What is call by reference in functions?
Why c language?
ATM machine and railway reservation class/object diagram
Explain how can I open a file so that other programs can update it at the same time?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
What is the main difference between calloc () and malloc ()?
How reliable are floating-point comparisons?
can we change the default calling convention in c if yes than how.........?
Explain what is the difference between null and nul?