mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 09:34:00 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
407 B
407 B
Basic Functions
A basic function definition in C specifies a return type, a name, a parameter list, and a body containing the code to execute, for example int add(int a, int b) { return a + b; }. If a function does not return a value, its return type is declared as void. Function prototypes, declarations without a body, let functions be used before their full definition appears later in the file.