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

Define Virtual function in C++.

1102


What do you mean by delegate? Can a user retain delegates?

956


How delete [] is different from delete?

1012


Define anonymous class.

1083


Are vectors passed by reference c++?

995


How does com provide language transparency?

1017


What is the best it certification?

1126


What is operator overloading in c++ example?

1143


What do you mean by function and operator overloading in c++?

1055


What is class invariant in c++?

1235


What is pointer to array in c++?

1171


Is linux written in c or c++?

1054


Differentiate between a constructor and a method in C++.

1062


What are the differences between malloc() and calloc()?

1187


Is there any difference between int [] a and int a [] in c++?

1025