The main() is a function. Every program contain main()
function. The main() function indicates the starting of the program i.e. a
program started with a main function.
Every program should have at least one main function. The main() function can be declared in different ways, for example:
Every program should have at least one main function. The main() function can be declared in different ways, for example:
- main()
- void main()
- int main()
- void main(void)
- int main(void)
- main(void)
No comments:
Post a Comment