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

Does c++ have finally?

1015


Can we define function inside main in c++?

994


How do I get good at c++ programming?

1147


What is a tree in c++?

956


Are c and c++ different?

969


What is c++ namespace?

1192


What kind of problems can be solved by a namespace?

1078


Describe about storage allocation and scope of global, extern, static, local and register variables?

1246


Explain shallow copy?

1032


What is difference between class and structure in c++?

1174


Explain how the virtual base class is different from the conventional base classes of the opps.

1145


How is static data member similar to a global variable?

1101


What methods can be overridden in java?

1244


What are friend classes?

1052


How can virtual functions in c++ be implemented?

1109