You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Declaration and assignation of character strings and integer arrays on separate lines.
Global, static, constant (???).
The Norm says
Each C keyword must be followed by a space, except for keywords for types (such as int, char, float, etc.), as well as sizeof.
Declaration and an initialisation cannot be on the same line, except for global variables (when allowed), static variables, and constants.
Multiple assignments are strictly forbidden.
You may add a new line after an instruction or control structure, but you’ll have to add an indentation with brackets or assignment operator. Operators must be at the beginning of a line.
Control structures (if, while..) must have braces, unless they contain a single line or a single condition.
A function can take 4 named parameters maximum.
You can’t declare more than 5 variables per function.
You cannot include a .c file.
You cannot have more than 5 function-definitions in a .c file.