What are the ways to pass the parameters?
Answer
There are two ways to pass parameters in C: Pass by Value, Pass by Reference.
Answer
There are two ways to pass parameters in C: Pass by Value, Pass by Reference.
- Pass by Value. Pass by Value, means that a copy of the data is made and stored by way of the name of the parameter. …
- Pass by Reference. A reference parameter “refers” to the original data in the calling function.