Answer Posted / saurabh
We can use as many classes as we want in our program..
By the way AMIT, main() is a function and not a class
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is polymorphism what is it for and how is it used?
What are the three main types of variables?
What does enum stand for?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
what are the realtime excercises in C++?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is overloading in oop?
What is abstraction encapsulation?
What is encapsulation process?
What makes a language oop?
Is abstract thinking intelligence?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is and I oop mean?
What is the purpose of enum?