What is function? Explain
Answers
Answered by
0
an activity that is natural to or the purpose of a person or thing.
"bridges perform the function of providing access across water.
A function is a rule which relates the values of one variable quantity to the values of another variable quantity, and does so in such a way that the value of the second variable quantity is uniquely determined by (i.e. is a function of) the value of the first variable quantity.
Answered by
4
Hi, Here is your answer
A function is a group of statements that together perform a task. Every C program has at least one function, which is main(), and all the most trivial programs can define additional functions. ... A function declaration tells the compiler about a function's name, return type, and parameters.
Similar questions