Explain function detail about c programming with example
Answers
Answered by
2
A function is a group of statements that together perform a particular task.
For a program with a repetition of a same task, you can type the task as a function once and call it multiple times to achieve the same goal.
It is used to reduce the space and time required to execute your code.
Every C program has at least one function, which is main(), where the execution always begins.
For a program with a repetition of a same task, you can type the task as a function once and call it multiple times to achieve the same goal.
It is used to reduce the space and time required to execute your code.
Every C program has at least one function, which is main(), where the execution always begins.
Similar questions