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 / jit

In C if we write a program like
int main()
{
static int i = 5;
if (--i){
printf("%d ", i);
main(10);
}
}

It works but not in C++

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is this job good for future? can do this job post grduate student?

2222


What is encapsulation and abstraction? How are they implemented in C++?

1188


what's the basic's in dot net

2235


what is graphics

2516


What is the problem with multiple inheritance?

1238


• What are the desirable attributes for memory managment?

2283


What is oops with example?

1104


i got a backdoor offer in process global,Bangalore..Can i work with it?

2894


Which is not an object oriented programming language?

1045


What is a null tree?

1192


Why do while loop is used?

1098


Why multiple inheritance is not allowed?

1255


What is the difference between abstraction and polymorphism?

1158


What is byval and byref? What are differences between them?

2272


What is encapsulation in oops?

1071