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 are the 5 oop principles?
What does enum stand for?
What is encapsulation in simple terms?
What are constructors in oop?
What do you mean by variable?
What is polymorphism and types?
What is variable example?
How long to learn object oriented programming?
Which method cannot be overridden?
How is class defined?
Which type does string inherit from?
Why is static class not inherited?
Why we use classes in oop?
Why do we use oop?
What is coupling in oops?