Question 1: Design a program which must accept any text file and print the data of that file in reverse order?
Question 2: Design a generic template that can swap any kind of values.
Question 3: Write an algorithm which must sort Generic type of data?
Question 4:
a) What’s the deal with operator overloading?
b) What are the advantages of operator overloading?
Question 5: Write a C ++ program by using stack ADT which reads an infix expression, converts the expression to postfix form and computes the postfix expression.
Question 6: Write a program that gives the Constructor and copy constructor for chain.
Question 7: Write a method in C++ to join two doubly linked lists into a single doubly linked list. In a join the elements of second list are appended to end of first list.
Question 8: Define the Abstract data kind for Queue. Write a C ++ program to implement the Queue ADT by using arrays.