Can anyone pls explain me in detail how this number got swaped step by step (comma operator) [closed]
#include<stdio.h>
int main(void)
{
int a=8,b=7,temp;
printf(“a=%d, b=%d\n”,a,b);
temp=a,a=b,b=temp;
printf(“a=%d, b=%d\n”,a,b);
return 0;
}
Can anyone pls explain me in detail how this number got swaped step by step (comma operator)
from Recent Questions - Stack Overflow https://ift.tt/3ukViAy
https://ift.tt/eA8V8J
Comments
Post a Comment