Function is a block of statements that performs a specific task. It is reusable portion of the code and a very effective way to modularize your program.
For example, you may need to perform different arithmetic operations in your program like addition, subtraction, multiplication and division. To implement it in a modular way, you can define four different functions to perform this individual task.
There are two type of functions:
C Functions
For example, you may need to perform different arithmetic operations in your program like addition, subtraction, multiplication and division. To implement it in a modular way, you can define four different functions to perform this individual task.
There are two type of functions:
- Library function
- User defined function...
C Functions