In short, functions are named reusable pieces of code. A function is made up of a function body associated with a function name. A function can accept zero or more parameters and optionally return a result.
13. Functions
Get Modern C for Absolute Beginners: A Friendly Introduction to the C Programming Language now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.