Quantcast
Channel: C
Viewing all articles
Browse latest Browse all 46

C Functions

$
0
0
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:
  1. Library function
  2. User defined function...

C Functions

Viewing all articles
Browse latest Browse all 46

Trending Articles