Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Are polymorphisms mutations?

1163


What does and I oop mean?

1186


Why do we need oop?

1202


What is static modifier?

1225


What is debug class?what is trace class? What differences are between them? With examples.

2198


What is abstraction in oops with example?

1293


What are classes oop?

1027


Explain virtual inheritance?

1204


what are the different types of qualifier in java?

2276


Where is pseudocode used?

1105


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

2153


What is class and example?

1186


Plese get me a perfect C++ program for railway/airway reservation with all details.

3905


What is the difference between encapsulation and polymorphism?

1111


What is difference between abstraction and encapsulation?

1083