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 / uma sankar pradhan

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

the above code will compile in 'c'
but in 'c++' it will give compilation error

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the two main components of c++?

1053


Which software is used to run c++ program?

940


What is data structure in c++?

1092


What programming language should I learn first?

1032


What is c++ namespace?

1142


When to use “const” reference arguments in a function?

1009


Define a pdb file.

1027


What is meant by entry controlled loop?

1057


Is it possible to provide default values while overloading a binary operator?

1209


What are the advantages of using pointers in a program?

1092


How do I exit turbo c++?

1001


How would you find out if a linked-list is a cycle or not?

954


Explain some examples of operator overloading?

1031


What is a singleton class c++?

965


What is the use of register keyword with the variables?

892