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 static variable mean in c?
In a header file whether functions are declared or defined?
writ a program to compare using strcmp VIVA and viva with its output.
Explain how are 16- and 32-bit numbers stored?
Write a program that can show the multiplication table.
What is #define in c?
Write a small C program to determine whether a machine's type is little-endian or big-endian.
what's the o/p int main(int n, char *argv[]) { char *s= *++argv; puts(s); exit(0); }
c program to arrange digits in a no in ascending and descending order
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
Explain what is the benefit of using #define to declare a constant?
marge linklist