Implement a function that returns the 5th element from the
end in a singly linked list of integers in one pass.
Answer Posted / 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 |
Post New Answer View All Answers
What is function pointer c?
How many parameters should a function have?
Why is void main used?
What is structure in c explain with example?
What are the advantages of external class?
What is assert and when would I use it?
What is the meaning of ?
How can I implement a delay, or time a users response, with sub-second resolution?
Explain the concept and use of type void.
What is the difference between array and structure in c?
Explain logical errors? Compare with syntax errors.
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
What’s the special use of UNIONS?
What is 2 d array in c?
How to explain the final year project as a fresher please answer with sample project