how does a main() in C++ is different from main() in C?
Answer Posted / hamza
in C++, you do not need to type "return 0;" statement in a [ int main() {} ]as it will be provided automatically but not in case of C.
| Is This Answer Correct ? | 22 Yes | 32 No |
Post New Answer View All Answers
What polymorphism means?
Is react oop?
What is overriding vs overloading?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
Why multiple inheritance is not possible?
What is difference between pop and oop?
What is a class oop?
Can we create object of abstract class?
What is super in oop?
What is class and example?
Why is oop useful?
What are the advantages of polymorphism?
Prepare me a program for the animation of train
what are the different types of qualifier in java?
Is enum a class?