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

what is the function of void main()?

Answer Posted / chirag sathvara

void main() function,it will flow of the program
execution,what are the next step of line to execute.
for example,
void main()
{
int b=0
cout<<b;
int c=0;
cout<<c;
}
/*it will indicate first create object of int type,after it
will genereate next statement.*/

Is This Answer Correct ?    29 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

1295


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

1065


What are local static variables? How can you use them?

1208


Explain how do you override a defined macro?

1139


What is difference between scanf and gets?

1373


Which is better between malloc and calloc?

1257


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

1057


What is c language used for?

1033


What is the difference between null pointer and wild pointer?

1252


When should volatile modifier be used?

1077


How does selection sort work in c?

1099


Is register a keyword in c?

1091


Are c and c++ the same?

1113


Explain built-in function?

1188


Where can I get an ansi-compatible lint?

1208