I have been reading why void main() is bad , and I have seen a line ;
>(void)fgets(buf, 1024, stdin);
What does that void at the beginning mean?
----------------------
Also , The wiriting was mentioning that library startup code always need a return value. If the main is void , it will take the return value from another component. Depending on what the compiler chooses that value? Or is there really a value or am I wrong?
Thank you.