I am running a code snippet. But I am not able to understand the code and the output that it is producing.
#include <stdio.h>
int main()
{
int a, b,c, d;
a=3;
b=5;
c=a,b;
d=(a,b);
printf("c = %d" ,c);
printf("\nd = %d" ,d);
return 0;
}
The output of this program is:
c=3
d=5
I am not getting how the output is coming?