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

Does c++ have finally?

959


Describe Trees using C++ with an example.

1087


Why do we use classes in c++?

996


What is singleton pattern in c++?

922


When does a 'this' pointer get created?

1033


What is c++ good for?

1002


What are c++ storage classes?

1045


How many different levels of pointers are there?

1150


What does new return if there is insufficient memory to make your new object?

976


Is there finally in c++?

1028


What is a hash function c++?

1022


Using a smart pointer can we iterate through a container?

1022


What is the function of I/O library in C++ ?

1116


What is ostream in c++?

959


What are shallow and deep copy?

1044