A parameter or argument is data which is taken as input or considered as additional information by the function for further processing. There are two types of parameters or arguments. The parameters which are passed in the function call are known as actual parameters or actual arguments. The parameters which are received by the called function are known as formal parameters or formal arguments. Example is shown below: In the above example, x and y are known as actual parameters and a and bare known as formal parameters. In the above code, we can see that the return type
The post What are the formal and actual parameters in C programming appeared first on Coding Security.
What are the formal and actual parameters in C programming
read more
Tidak ada komentar:
Posting Komentar