So
return (1);
instead of just return 1;
I remember using the former style as I tried (in frustration) to learn C back on the Amiga (so roughly at the same time, late 80s/early 90s) using articles in magazines.Does anyone know where it comes from?
Some time later (late 90s) at university I learned C again but with actual (good!) teachers, and also got exposed to way more code and talk about code thanks to Internet and comp.lang.c etc, and around that time (I think?) I stopped using them.
Nowadays they always make me think the author is anxious that the function will return before the entire expression is evaluated, which makes me smile. :)