Next: , Previous: , Up: Execution Control Expressions [Contents][Index]


8.4 Conditional Expression

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

AltStyle によって変換されたページ (->オリジナル) /