enter code here
#include<stdio.h>
int main()
{
char i;
i='t','f','b','a';
printf("\ni = %c",i);
return 0;
}
in the above code when i assign value to i the first value(t) is assigned to the variable i but if i provide parenthesis around the values ie write i=('t','f','b','a') instead of the one written in the above code the last value ie 'a' gets assigned to the variable i. Can anyone please explain why this happens??