The conditional operator (?:) ________.
A: is the only ternary operator in C
B: is a unary operator
C: associates from left to right
D: accepts two operands
A: is the only ternary operator in C
B: is a unary operator
C: associates from left to right
D: accepts two operands
举一反三
- 1、In MATLAB, the right division operator (/) and the left division operator (\) are equivalent.
- The ! operator is an unary operator.
- The conditional operator (?:) ________.
- You can book two air-tickets from the operator with the switchboard.
- For objects of class Rational, overload the unary operator " - ", and the declaration of the operator function is_______ A: void Rational::operator-(); B: friend Rational operator-( ); C: Rational Rational::operator-() D: friend void operator-( Rational a );