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 many types of classes are there in c++?

0 Answers  


How the virtual functions maintain the call up?

0 Answers  


Why c++ is faster than java?

0 Answers  


What are the two types of comments, and how do they differ?

0 Answers  


How can you quickly find the number of elements stored in a a) static array b) dynamic array ?

5 Answers   Lucent,






What is the array and initializing arrays in c++?

0 Answers  


What is the use of default constructor?

0 Answers  


Is there a sort function in c++?

0 Answers  


A milk carton can hold 3.78 litres of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one litre of milk is $0.38, and the profit of each carton of milk is $0.27. Write a C++ program that prompts the user to enter the total amount of milk produced in the morning. Then display the number of milk cartons needed to hold milk, the cost of producing milk, and the profit for producing milk.

2 Answers  


Why cout is used in c++?

0 Answers  


What is a constructor in c++ with example?

0 Answers  


what is meaning of isa and hsa

1 Answers  


Categories