The main
function can be called in the following ways in C:
int main()
int main(int argc, char *argv[])
Does C support overloading?
Answer to this question is a NO.
Then how can main()
be called in C in two ways?
The main
function can be called in the following ways in C:
int main()
int main(int argc, char *argv[])
Does C support overloading?
Answer to this question is a NO.
Then how can main()
be called in C in two ways?