Talk about the difference between call by reference and call by value and in C language with example?
void main() {
int a = 10,
void increment(int);
Cout << "before function calling" << a;
increment(a);
Cout << "after function calling" << a;
getch();
void increment(int x) {
int x = x + 1;
Cout << "value is" << x;
}