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

What is c++ & why it is used?

0 Answers  


Is c++ high level programming language?

0 Answers  


what is Member Functions in Classes?

0 Answers  


How does c++ structure differ from c++ class?

0 Answers  


What are the rules for naming an identifier?

0 Answers  






What do you mean by a template?

0 Answers  


Write a C++ program to sort digits of all the 4 digit number and display the sorted 4 digit number

1 Answers   TATA, TCS,


Describe new operator and delete operator?

0 Answers  


What are the advantage of using register variables?

0 Answers  


A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.

0 Answers  


What is cloning?

1 Answers  


implement stack using stack.h headerfile functions

1 Answers   Exilant, GMG, Subex, University,


Categories