Mega Code Archive

 
Categories / C Tutorial / Operator
 

Comma operator can return a value

Comma operator returns the value of the rightmost operand. #include<stdio.h> main(){     int i, j;         printf("%d",(i = 0, j = 10)); } 10