Program of swapping of two variable using templates


Question 1) Answer all the questions:

i) Write down the difference between oops and procedural oriented.

ii) Explain polymorphism in detail?

iii) Describe inline function?

iv) What is class and object?

v) Distinguish between this and super.

Question 2) Describe feature of object oriented language.

Question 3) What is constructor? Describe various types of constructors.

Question 4) What is inheritance? Describe various types of inheritance.

Question 5) Answer all the questions:

i) Distinguish between static and dynamic binding.

ii) Write down the difference between function overloading and overriding.

iii) Differentiate between error and exception.

iv) Distinguish between constructor and destructor.

v)  What are the components of STL?

Question 6) Write a program to read and write students information in File.

Question 7) Write a program to swapping of two variable using templates.

Question 8) What is virtual function? Explain pure virtual function with example.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Program of swapping of two variable using templates
Reference No:- TGS04322

Expected delivery within 24 Hours