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

How did c++ start?

0 Answers  


What is split a string in c++?

0 Answers  


What is the difference between function overloading and operator overloading?

0 Answers  


What is ostream in c++?

0 Answers  


What is a rooted hierarchy?

0 Answers  


What is the average salary of a c++ programmer?

0 Answers  


Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

0 Answers  


Implement stack operations with pointers with appropriate exception checks.

0 Answers   Huawei,


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

0 Answers  


Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

0 Answers  


What is the difference between the functions rand(), random(), srand() and randomize()?

0 Answers  


Can we delete this pointer in c++?

0 Answers  


Categories