Computer Science, asked by ajeethansda96, 2 days ago

What are functions? Explain any two functions.

Answers

Answered by alakh1981p4cigh
1

Answer:

In this tutorial, we will learn functions in C programming. A function is a block of statements that performs a specific task. Let’s say you are writing a C program and you need to perform a same task in that program more than once. In such case you have two options:

a) Use the same set of statements every time you want to perform the task

b) Create a function to perform that task, and just call it every time you need to perform that task.

Answered by TerribleGirl
0

A function is a block of statements that performs a specific task. Let's say you are writing a C program and you need to perform a same task in that program more than once. In such case you have two options: a) Use the same set of statements every time you want to perform the task.

Similar questions