I tried using the following C code:
int a=1,b=3;
printf("a : %d \n b : %d\ncond : %d\na : %d\nb : %d",a, b, ((a=b++)==0),a,b);
return 0;
I get different outputs in VSCode and Prutor(which is used in my college)
VSCode Output:
a : 3
b : 4
cond : 0
a : 3
b : 4
Prutor Output:
a : 1
b : 3
cond : 0
a : 3
b : 4
PS I feel that Prutor output is correct