mstdn.io is one of the many independent Mastodon servers you can use to participate in the fediverse.

Administered by:

Server stats:

341
active users

Bernie

Pascal had an explicit distinction: functions are procedures which return a result.

K&R C didn't bother with procedures: everything is a function, and if you omit return at the end, it will return garbage to the caller 😂

Later, ANSI C added the "void" type and (optional) function prototypes, making this footgun somewhat less dangerous.

Support for declaring and defining functions without a full prototype will be finally removed in C23:
en.cppreference.com/w/c/23

@srevinsaju

en.cppreference.comC23 - cppreference.com