Difference between main(void) and main() in C

Viewed 33467

Can anyone tell me the difference between int main() and int main(void)? Why do both of them work and what is the default argument to int main()?

3 Answers
Related