Computer Science, asked by rockshrm9686, 1 year ago

Explain function detail about c programming with example

Answers

Answered by goldengirlvisal
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.

Similar questions