Computer Science, asked by milliondollarboy18, 9 months ago

what is function explain different types of function explain in calc writer syntax and example ​

Answers

Answered by suhaibfaridi6
3

Answer:

Explanation:

function is a block of statements that performs a specific task. Suppose you are building an application in C language and in one of your program, you need to perform a same task more than once. In such case you have two options –

a) Use the same set of statements every time you want to perform the task

b) Create a function to perform that task, and just call it every time you need to perform that task.

Using option (b) is a good practice and a good programmer always uses functions while writing codes in C.

Similar questions