1. Calling function: A function from which call to a function is given to another function is called a calling function.
For example, calling function is main() and called function is demo();
2. Called function: A function which is called from another function.
For example, main () is calling function and demo(p,t,r) is the called function.