The expression:
(expression1, expression2)
First expression1
is evaluated, then expression2
is evaluated, and the value of expression2
is returned for the whole expression.
More Related Contents:
- What does i = (i, ++i, 1) + 1; do?
- What is the "–>" operator in C/C++?
- "." or "->" C struct accessor [duplicate]
- Logic behind sizeof operator [duplicate]
- which is faster assigning a number to the variable or changing the value of that variable either by adding or subtracting some number?
- How to work with a variable number of variables in C?
- What does the ??!??! operator do in C?
- What’s the difference between “mod” and “remainder”?
- What is short-circuit evaluation in C?
- Why is sizeof considered an operator?
- C comma operator
- !! c operator, is a two NOT?
- The ternary (conditional) operator in C
- Precedence of && over || [duplicate]
- What does =+ mean in C?
- “&&” and “and” operator in C
- What does =+ (equals-plus) mean in C?
- Please explain the comma operator in this program
- Comma operator in condition of loop in C
- In C, what is the difference between `&function` and `function` when passed as arguments?
- What is ‘:-!!’ in C?
- Does *p++ increment after dereferencing? [duplicate]
- I want to create a program in C to check for @ and . if typed in by user [closed]
- C pointer to another struct
- When is casting between pointer types not undefined behavior in C?
- Cannot insert breakpoints. Addresses with low values
- Is this undefined C behaviour?
- A possible algorithm for determining whether two strings are anagrams of one another? [closed]
- Why vectorizing the loop over 64-bit elements does not have performance improvement over large buffers?
- Standard data structure library in C? [closed]