+ 5
What does int main() means??
2 Réponses
+ 26
Every programming language you will come across has a central point of execution (the function, object or line from where the execution of your programme starts). In C, main function is the central point of execution.
Now main being a function it should follow the syntax of a function defined in C i.e. return_type function name(arguments). The return_type in the syntax is used to specify the caller function/process(the function/process that calls the said function) that the called function(the said function) will return some data at the end of its process. This data can be then used by the caller function in its own processes.
0
hmmm ok