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 / pulkit dave

void main()
{
int class=28;
printf("%d",class);
}


it works...

[class] :p

Is This Answer Correct ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstract class in c++?

1001


Is c++ an oop?

1038


What is the full name of logo?

1079


What are the uses of c++ in the real world?

993


Why is c++ considered difficult?

1104


Tell me can a pure virtual function have an implementation?

981


Define whitespace in C++.

1152


How would you differentiate between a pre and post increment operators while overloading?

1096


Explain the operation of overloading of an assignment operator.

1121


What is c++ coding?

1141


What is null pointer and void pointer?

1018


What does iomanip mean in c++?

1145


What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required

937


Can I learn c++ without c?

1104


How can I learn c++ easily?

1027