what is functions? what are the uses of its?
Answers
Answered by
1
Answer:
Functions are used because of following reasons – a) To improve the readability of code. b) Improves the reusability of the code, same function can be used in any program rather than writing the same code from scratch. c) Debugging of the code would be easier if you use functions, as errors are easy to be traced.
Answered by
7
Functions :-
A technical definition of a function is :
A relation from a set of inputs to a set of possible outputs where each input is related to exactly one output.
Uses of Functions :-
Functions are used because of following reasons :
a) To improve the readability of code.
b) Improves the reusability of the code, same function can be used in any program rather than writing the same code from scratch.
Similar questions
World Languages,
4 months ago
Math,
4 months ago
Physics,
8 months ago
Math,
8 months ago
Political Science,
1 year ago
Science,
1 year ago
Science,
1 year ago