C language: Chapter 5: Functions and pointers
Function - Function is a self-contained block of statements that performs a coherent task of some kind. @program Main () is the calling function and raj (), mahesh () are the called functions. Summary: - C program is a collection of one or more functions. Any C program contains at least one function. If there is only one function available in C program, it should be main (). If there are more than one functions available in C program, then one (one and only one) function should be main (), as programs begins with main (). There is no limit on the number of functions available in C program. Each function in a program is called, in the sequence specified by the function calls in the main (). When the called function has done its things, control returns to the main function. When main function runs out of the functions call, the program ends. A function gets called when a function name is followed by a semicolon. A function is defined when a function name is followed by pair of brac...