What is function? Explain different types of function in calc
Answers
Answer:
Explanation:
A function has the derived type "function returning type". The type can be any data type except array types or function types, although pointers to arrays and functions can be returned. This style of function declaration, in which the parameters are declared in a parameter type list, is called a function prototype.
There can be 4 different types of user-defined functions, they are:
Function with no arguments and no return value.
Function with no arguments and a return value.
Function with arguments and no return value.
Function with arguments and a return value.
Therefore its a function and there types of functions
Answer:
functions are pre - designed formulas.
Explanation:
FUNCTIONS ARE PRE -DESIGNED FORMULAS TO PERFORM SIMPLE AND COMPLEX CALCULATIONS.
TYPES:-
1-SUM( ).
2-AVERAGE( ).
3-MAX( ).
4-TODAY( ).
5-IF( ).