0
What is void main
Void main
2 Réponses
+ 12
void return type for main is loading bananas into a shotgun and expecting it to work. - Some shotguns may shoot fine but most won't.
http://www.stroustrup.com/bs_faq2.html#void-main
+ 9
main() is the default entry point of a program while void is used to declare that the program won't be returning any value.