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 / nitesh

ans 3 and 4 are incorrect in my opinion.

xyz()
{
printf("very good");
}
can be compiled by including the header file "Stdio.h"

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use clrscr in c++?

1033


What is a constant reference?

1029


What does scope resolution operator do?

1063


In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....

2377


Why c++ does not have finally?

1032


What is a lambda function c++?

1040


Explain what are accessor methods?

1074


Where must the declaration of a friend function appear?

918


Write my own zero-argument manipulator that should work same as hex?

1002


Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list

961


What is the use of namespace std in C++?

1022


Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

1209


What is boyce codd normal form in c++?

1114


What is the default access level?

1034


Which one between if-else and switch is more efficient?

1022