Int main(void) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Int main(void)

what does this mean

28th Nov 2017, 1:40 PM
stanley ashiwel
stanley ashiwel - avatar
1 Answer
+ 1
It's your main loop. It's of int return type because it returns an int value as an exit status when your program ends. You can make it main() or main(void); basically, it has no arguments.
28th Nov 2017, 1:49 PM
AgentSmith