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
Are polymorphisms mutations?
What does and I oop mean?
Why do we need oop?
What is static modifier?
What is debug class?what is trace class? What differences are between them? With examples.
What is abstraction in oops with example?
What are classes oop?
Explain virtual inheritance?
what are the different types of qualifier in java?
Where is pseudocode used?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is class and example?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is the difference between encapsulation and polymorphism?
What is difference between abstraction and encapsulation?