Write a function to find the nth item from the end of a linked list in a single pass.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Is facebook written in c++?

0 Answers  


Which software is used to run c++ program?

0 Answers  


What is nested class in c++?

0 Answers  


What is a float in c++?

0 Answers  


Which format specifier is used for printing a pointer value?

0 Answers  






What is the difference between an array and a list?

0 Answers  


Can we inherit constructor in c++?

0 Answers  


Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL

0 Answers  


Which software is best for programming?

0 Answers  


What is a pure virtual function? Why is it represented as = 0...how is the internal implementation for the same

3 Answers   CTS,


Describe the advantages of operator overloading?

0 Answers  


Define a program that reads two matrices of size 3x3 with real values from the user then prints their sum, difference and multiplication.

0 Answers   TCS,


Categories