Why do we need the pre-processor directive # include < iostream >?
Object Oriented Programming
202414 questions
What are the applications of void data type in C++?
What are objects ? How are they created?
What is parameterized constructor?
Describe the syntax of Operator function.
What is a virtual base class?
What are the application of this pointer?
What role does the iomanip file play?
What are input and output stream?
What is generic programming?
What is a friend function? What are the merits and demerits of using friend function?
What do you mean by Dynamic initialization of objects?
When do we make a virtual function "pure"? What are the implications of making a function a pure virtual function?
Write a class template to represent generic vector. Include member functions to perform the following tasks: a) To create the vector b) To modify the value of a given element c) To multiply by a scalar value d) To display the vector in the form (10, 20, 30...... )