Why we use main function in c programming language?
Answers
Answered by
6
In C, the "main"function is treated the same as everyfunction, it has a return type (and in some cases accepts inputs via parameters). The only difference is that the main function is "called" by the operating system when the user runs the program.
hope it helps!!!!
hope it helps!!!!
Similar questions
Physics,
1 year ago