Output Tracing of C++ program.
How the parameter value is passing in function argument I cann't understand?
#include <bits/stdc++.h>
void call(int,int,int,int);
int main(){
int a=10;
call(a,a++,++a,a);
return 0;
}
void call(int x,int y,int z,int p){
printf("%d %d %d %d",x,y,z,p);
}
Output:12 11 12 12 But cann't understand the logic behind this.