**C permits different forms of main statement. The following forms are followed :
- main()
- main(void)
- int main(void)
- void main()
- void main(void)
- int main(void)
main() and main(void)
The empty pair of parentheses main() and also the main(void) indicates that the function has no argument.
int main()
The statement int main() indicates that the function returns an integer value to the operating system.
void main()
The statement void main() indicates that the function does not return any information to the operating system.
void main(void)
The statement void main(void) indicates that the function does not return any information to the operating system and it has no argument.
int main(void)
The statement void main(void) indicates that the function return any integer value to the operating system and it has no argument.