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 / aashish kumar nath

We can do many programs which will run in C but not in C++
like if we declare

int class=8 /*It will run in C but not in c++ */

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c++ coding?

1196


How much do coding jobs pay?

1008


What are keywords in c++?

1093


What is the c++ code?

1139


Why c++ is better than c language?

1016


What's the hardest coding language?

999


What is c++ good for?

1059


What is main function in c++ with example?

1218


What does scope resolution operator do?

1108


Can comments be longer than one line?

1070


What are the various oops concepts in c++?

1030


What are the uses of pointers?

1062


What are the classes in c++?

1104


What does extern mean in a function declaration in c++?

1206


Explain terminate() and unexpected() function?

1096