Implement a function that returns the 5th element from the
end in a singly linked list of integers in one pass.
Answers were Sorted based on User's Feedback
Answer / vrushali
In whatever the case , we require to know the no of nodes in
the LL. As there is no way to know the total no of nodes
without traversing the LL.
Please coorect me if I am wrong.
| Is This Answer Correct ? | 0 Yes | 2 No |
What does typeof return in c?
C program to perform stack operation using singly linked list
two variables are added answer is stored on not for third variable how it is possible?
What is the use of putchar function?
find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); }
What are the applications of c language?
What are pointers?
0 Answers Accenture, Tavant Technologies, Zensar,
wat is the difference between array and pointer?
Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….
What are register variables? What are the advantage of using register variables?
program to print circle structure
write a program to swap two numbers without using temporary variable?