C Functions

C Functions

All C programs has at least one function, which is main() ,  and all the most simple programs define more functions. A function is a group of statements that together perform a task. You can divide up your code into separate functions. How you divide up your code among different functions is up to you, but logically the division is such that each function performs a specific task. A function declaration tells the compiler about a function's name, return type, and parameters. A functi...