What is difference between pass by value and pass by reference?

a) What is difference between pass by value and pass by reference?
b) Write a C program which calls a function to swap values of two variables.

Leave a Reply