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


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

Post New Answer

More C++ General Interview Questions

What is the use of pointer in c++ with example?

0 Answers  


Write any small program that will compile in "C" but not in "C++"?

4 Answers  


Explain how would you handle a situation where you cannot call the destructor of a local explicitly?

0 Answers  


Can we use resume in error handling i.e. in the catch block

5 Answers   Infosys,


What is namespace & why it is used in c++?

0 Answers  






What is prototype for that c string function?

0 Answers  


What are the different types of comments allowed in c++?

0 Answers  


Explain what are the sizes and ranges of the basic c++ data types?

0 Answers  


They will ask u question about single linked list?. Write Code for to insert delete node.

2 Answers   Persistent,


What is the Difference between "printf" and "sprintf"?

7 Answers   iSoft, PentaWare, TCS,


When is a template better solution than a base class??

2 Answers   emc2,


Why the usage of pointers in C++ is not recommended ?

0 Answers   TCS,


Categories