Computer Science, asked by Mokshita5284, 2 months ago

Define Function with suitable example​

Answers

Answered by marvaminuva
1

A function is a mapping from a set of inputs (the domain) to a set of possible outputs (the codomain). The definition of a function is based on a set of ordered pairs, where the first element in each pair is from the domain and the second is from the codomain.

Answered by IIRissingstarll
1

❥ ❥ Answer ࿐

A function is a group of statements that together perform a task. A function declaration tells the compiler about a function's name, return type, and parameters. A function definition provides the actual body of the function. The C standard library provides numerous built-in functions that your program can call.

Similar questions