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

What is ios in c++?

1226


What does override mean in c++?

1072


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

1059


What flag means?

967


If a function doesn’t return a value, how do you declare the function?

1070


Explain terminate() function?

1064


Write a function that swaps the values of two integers, using int* as the argument type?

1038


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

1256


What is a block in c++?

1061


What is c++ used for in games?

1175


What is srand c++?

1122


What is using namespace std in c++?

1169


Write a program which employs Recursion

1248


Which operations are permitted on pointers?

1007


Which is most difficult programming language?

1114