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

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation