Use of comma operator in C and C++ - Syntax and Example
Comma operator is used to separate 2 or more variables or expressions. It has the lowest priority among all other operators.
Comma Operator in C and C++ - Syntax
a=17, b=28, c=a+b;
Comma Operator in C Example
printf("The Addition :%d\n The Subtraction : %d \n",(2+5),(5-4));
The addition : 7 The Subtraction : 1