Documente Academic
Documente Profesional
Documente Cultură
Important Questions
Unit- 1
Q1. Write any three differences between C and C++
Ans: Important Question
Unit- 2
Q1. How to declare a class? Give its syntax.
Ans: Important Question
Q6. Explain the creating and accessing of array of objects with an example program.
Ans: Important Question
Unit- 3
Q1. What is inheritance?
Ans: Important Question
Q2. What are the differences between inheriting a class with public and private visibility modes?
Ans: Important Question
Unit- 4
Q1. What happens if an exception is not caught?
Ans: Important Question
Q4. Write a sample C++ program to swap two numbers using template class.
Ans: Important Question
Q6. What is a template? State the need for template also give the classiication of templates.
Ans: Important Question