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

write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;

1947


Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?

2450


Which is best ide for c++?

966


write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num

2581


What is while loops?

995


What is #include sstream?

1012


What are c++ data types?

1100


What is polymorphism in c++? Explain with an example?

986


Can a program run without main function?

1090


Why use of template is better than a base class?

1105


What is a multimap c++?

1140


What do you mean by function pointer?

1043


What is the difference between structures and unions?

1012


Explain class invariant.

992


What is problem with overriding functions?

1004