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...

Write any small program that will compile in "C" but not
in "C++"

Answer Posted / aravind

xyz()
{
printf("very good");
}

this is correct and if u add getch();
in main then there is no chance of compilation in CPP for sure

Is This Answer Correct ?    3 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What gives the current position of the put pointer?

951


How do I run a program in notepad ++?

1061


Const char *p , char const *p What is the difference between the above two?

1165


Explain the pure virtual functions?

1061


What is the default access level?

1034


Define a pointer to a data member of the type pointer to pointer?

945


Why is standard template library used?

996


Is swift better than c++?

902


In a function declaration, what does extern mean?

1003


What are the rules about using an underscore in a c++ identifier?

1104


How can I learn c++ easily?

1024


Can we get the value of ios format flags?

1086


What is the use of "new" operator?

1084


What is the use of typedef?

1051


If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?

1018