how does a main() in C++ is different from main() in C?
Answer Posted / bhanu
in c main() is a function, in c++ main() a class
| Is This Answer Correct ? | 8 Yes | 24 No |
Post New Answer View All Answers
How Do you Code Composition and Aggregation in C++ ?
Can we create object of abstract class?
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
Can main method override?
What is stream in oop?
What is class and object with example?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
Where You Can Use Interface in your Project
Why do we use polymorphism in oops?
Write a c++ program to display pass and fail for three student using static member function
What is polymorphism explain?
Templates mean
What are benefits of oop?
Why is destructor used?
2. Give the different notations for the class.\