I checked the style guide https://manual.cs50.net/style/
and the C99 Standard https://en.wikipedia.org/wiki/C99
And neither explicitly states the best format but both implicitly write out main as so
int main(void)
Without the space between the function name and the parentheses.
However conditionals and loops all have a space and I have got into the habit of putting a a space between the main and the parentheses like so:
int main (void)
The compiler parses this fine, however I want to know is it going to hurt me on certain edge cases, should I work on altering this habit and correcting this space?
This is a minor detail question but it has been bugging me.