That's up to you, except for the main function, the name of which has to be main.
Or, if you want to know how to call a function, it's simply by its name, followed by an argument list, eg:
int main (void)
{
puts ("I have just called function puts");
return 0;
}
in c main function initailly called by operating system.
A function is called within a function either called by value or called by reference.When a function is called by passing the values of one or more variables,then the value is copied to a new var of the function's own var of its scope.Ex:void main(){...........c=fun(a,b);...}fun(int c,int d){ int t;t=c+d;return(t);}
Example:puts ("I've just called function 'puts'");
It is the first function that gets called when the program is executed.
main() is the function from where the execution starts.
In C and C++, as well as in many (all?) languages, a function can be called from more than one place in a program. That's the purpose of functions - to encapsulate pieces of code that are needed in more than one place in the program.
It's called 'main' by tradition; this feature lets the linker to know, where to start the execution.
The name of the function is established by what is called function declaration. It also establishes the number and the types of parameters.
There is a function called pow in header math.h
Let f be a function with domain D in R, the real numbers, and D is an open set in R. Then the derivative of f at the point c is defined as: f'(c) =lim as x-> c of the difference quotient [f(x)-f(c)]/[x-c] If that limit exits, the function is called differentiable at c. If f is differentiable at every point in D then f is called differentiable in D.
FUNCTION IN C IS DEFINED AS THE METHOD WHICH IS USED TO SOLVE THE COMPUTATIONAL PROBLEM. AND THE FUNCTON CAN BE CALLED IN ANYWHERE IN THE PROGRAM MODULE. STEPS TO DECLERE THE FUNCTION 1.FUNCTION PROTOTYPE 2.FUNCTION DECLARETEION 3.FUNCTION DEFINATION 4.FUNCTION CALL 5.FUNCTION RETUN.
A prototype in C is the declaration of a function. Without a prototype, the function cannot be called because the compiler would have no way of knowing if the function was being called correctly. Prototypes may appear in multiple translation units but can only be defined once. A definition is itself a prototype.