Next: Comma Operator, Previous: Logical Operators and Assignments, Up: Execution Control Expressions [Contents][Index]
C has a conditional expression that selects one of two expressions to compute and get the value from. It looks like this:
condition ? iftrue : iffalse