2 advantage of using function in a program
Answers
Answer:
yeet
Explanation:
easy,
use vpn
use incognito tab,
and do whatever u want
Explanation:
C programming makes use of modularity to remove the complexity of a program. The programmer divides the program into different modules or functions and accesses certain functions when needed. Every C program has at least one function. The most common function that we use in our day-to-day programming is the main() function. The compiler always executes the main() function first and then any other function(if it is called from the main method).
A function is basically a block of statements that performs a particular task. Suppose a task needs to be performed continuously on many data at different points of time, like one at the beginning of the program and one at the end of the program, so instead of writing the same piece of code twice, a person can simply write it in a function and call it twice. And after the execution of any function block, the control always comes back to the main() function.