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...

can anybody please tell me how to write a program in
c++,without using semicolon(;)

Answer Posted / jasbir singh

void main()
{
if(0)
{

}
}

if you use void with main function, you have no need to
return a value.

Is This Answer Correct ?    16 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between struct and class?

1571


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

1251


How do I write a c++ program?

1120


How do you establish an is-a relationship?

1165


How long it will take to learn c++?

1049


How much maximum can you allocate in a single call to malloc()?

1109


Do you know about C++ 11 standard?

1090


What is a Default constructor?

1609


What is the size of integer variable?

1066


What is the use of class in c++?

1086


Is it possible to have a recursive inline function in c++?

1034


What is data types c++?

1027


Is there structure in c++?

1033


What is endianness?

1105


Differentiate between declaration and definition.

1058