Ad Code

Responsive Advertisement

why required main() function.

main function in C language :


main(parameters) : in main body all the code(programs) bare write into the main body. the main body start with open and karlibrackets.
the programmers write code into the main function.



the question is that : why required the main function is required 

in our operating system,  if the OS is hosted environment than the main() is compulsory, because hosted OS is mediator that complies it into the machine language so, the main(). is compulsory for the hosted environment OS.

but, if the OS is freestanding environment than it is not compulsory to write the main() function . because freestanding environment it is a embedded OS that programmes directly write the code.
❮ Previous                                                      Next ❯

Post a Comment

2 Comments

  1. https://apidoc.c9.io/c9v3/#!/api/texteditor.TextEditor

    ReplyDelete