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

what are the realtime excercises in C++?

2834


Is html an oop?

1059


What does and I oop and sksksk mean?

1160


What is overriding in oops?

1102


Can we have inheritance without polymorphism?

1021


Why is abstraction needed?

1032


what is the drawback of classical methods in oops?

3379


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

2204


What does I oop mean?

1072


How Do you Code Composition and Aggregation in C++ ?

25463


Why polymorphism is used in oops?

1046


Why do we need polymorphism in c#?

1164


why reinterpret cast is considered dangerous?

2391


Can main method override?

1104


How can you overcome the diamond problem in inheritance?

1178