Answer: The function main( ) invokes other functions within it.It is the first function to be called when the program starts execution.Ø It is the starting functionØ It returns an int value to the environment that called the programØ Recursive call is allowed for main( ) also.Ø It is a user-defined functionØ Program execution ends when the closing brace of the function main( ) is reached.Ø It has two arguments 1)argument count and 2) argument vector (represents strings passed).Ø Any user-defined name can also be used as parameters for main( ) instead of argc and argv
Tags:Interview Questions, Languages, C,
Please submit your Interview Answer for the above Question via replying to this post. Thank you for visiting to our blog, Have a Good Day!.
Sponsor Advertisement
School Management System Software
This is One of the best School management system software in the world. School Software offers complete professional institute management system administration, library, accounting, inventory, etc for all the school activities management...
No comments:
Post a Comment