Question 1:
a) Illustrate the difference between C and C++.
b) Describe the concept of destructor in a class what is the role in terms of cleanup of unwanted objects.
Question 2: What do you mean by inline function? In which conditions would you make a function inline? Give two illustrations of inline functions.
Question 3: Write a string class in C++ which must comprise the member function to compute the length of string.
Question 4: Describe about operator overloading with appropriate example.
Question 5: Write about templates. Write a C++ template function called exchange () that accepts two arguments of generic type and swaps their content.
Question 6: What is an array? Describe various array operations.
Question 8: Describe dynamic binding with help of an instance. Give its benefits and drawbacks.
Question 9: Describe utility of friend function, by using a suitable example.
Question 10: Describe the concepts encapsulation and information hiding in the OOP paradigm.
Question 11: Write brief notes on the virtual functions.
Question 12: What do you mean by inheritance? Describe different inheritances.
Question 13: What is an exception? Describe various types of exceptions.