The main() Function:
The main() is a main part of every C program. It is the start point of program. When we execute our program, it run from here. We can not run our program without the main() function because we write the program the all program in it. So it is the platform to writing the program for C or C++.
C permits different forms of main() statement.
Following Form are allowed:
· main()
· int main()
· void main()
· main(void)
· void main(void)
· int main(void)
Written by "Shojib"
No comments:
Post a Comment