3 ms·
The expression int a, b, c; is not a use of the comma operator. This is using a comma as a separator, like in a function call. The purpose of the comma ope
by jwcacces 6y ago
The expression
int a, b, c;
is not a use of the comma operator. This is using a comma as a separator, like in a function call.
The purpose of the comma operator is to add a sequence point between its left hand side and right hand side. The return value of the left hand side expression is discarded and the entire expression evaluates to the right hand side's value and type.