Even though C does not have call by reference, we assume that it is passing a pointer. Let us try to understand how parameters are passed in functions by simple examples. Lets us assume person X and person Y are executing some instruction from their respective notebooks. Since each have their own note books they can execute in parallel without any problem. Now let us assume a situation where person X and person Y share a same notebook. In that case when person X is using the notebook person Y can not use the notebook. Only one person can only
The post Call by value and Call by reference Demonstration in C appeared first on Coding Security.
Call by value and Call by reference Demonstration in C
read more
Tidak ada komentar:
Posting Komentar