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 need for main function in c?

Answer Posted / inamdar

every program execution is starts from the main()
function.compiler starts execution from main()
function.by default it returns integer value.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you override a defined macro?

1208


How can I find the modification date and time of a file?

1025


What are reserved words?

1045


What is an lvalue in c?

1064


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

1216


What is the difference between #include and #include 'file' ?

999


How do I round numbers?

957


Is file a keyword in c?

884


What are the types of data types and explain?

1034


Once I have used freopen, how can I get the original stdout (or stdin) back?

1029


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

2154


What is the purpose of the statement: strcat (S2, S1)?

1072


Explain heap and queue.

1010


Write a program to identify if a given binary tree is balanced or not.

1090


Describe how arrays can be passed to a user defined function

1223