The self contained structure to perform some task is known as.
Answers
A function is a self contained block of statements that perform a specific task.
HOPE IT HELPS YOU.......
}
A function can be accessed, or called, by specifying its name, followed by a list of arguments enclosed in parentheses and separated by commas. If the function call does not require any arguments then an empty pair of parentheses must follow the name of the function. The function call may be part of a simple expression, such as an assignment statement, or it may be one of the operands within a more complex expression. The arguments appearing in a function call may be expressed as constants, single variables, or more complex expressions. However, both the number and the types of the arguments must match those in the function definition.
The program listed below (printfact.c) uses the function factorial(), described above, to print out the factorials of all the integers between 0 and
Program to print factorials of all integers
between 0 and 20