What is the purpose of comma operator in c?
Answers
Answered by
1
the C and C++ programming languages, the comma operator (represented by the token ,) is a binary operator that evaluates its first operand and discards the result, and then evaluates the second operand and returns this value (and type).
The use of the comma token as an operator is distinct from its use in function calls and definitions, variable declarations, enum declarations, and similar constructs, where it acts as a separator.
The use of the comma token as an operator is distinct from its use in function calls and definitions, variable declarations, enum declarations, and similar constructs, where it acts as a separator.
Answered by
0
Answer:
idkidkidkikdikdkidkikdikidkikdiikdikidikidkiidkiikdidkikd
Explanation:
Similar questions