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 a storage class?

1373


What is iterator in c++?

1165


What are the benefits of c++?

1105


How come you find out if a linked-list is a cycle or not?

1083


What are the advantages of c++?

1992


What are the defining traits of an object-oriented language?

1260


Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort

1108


Write about a nested class and mention its use?

1164


When you overload member functions, in what ways must they differ?

1104


What is private public protected in c++?

1087


What are c++ templates used for?

1177


What is null c++?

1179


How do I tokenize a string in c++?

1143


What is class definition in c++ ?

1140


What is a unnitialised pointer?

1138