The ! operator is an unary operator.
举一反三
- 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
- The && operator has a higher precedence than the || operator.
- The -> operator has a higher priority than the increment operator.
- Which of the following statement is True? A: [img=20x18]1803bd52d74f76c.png[/img] is an eigenvalue of the position operator [img=11x19]1803bd52df60698.png[/img] . B: [img=70x25]1803bd52e788f4d.png[/img] is an eigenfunction of the position operator [img=16x19]1803bd52ef5ee5a.png[/img] C: The position operator [img=11x19]1803bd52f76293f.png[/img] is a linear operator. D: The operator [img=28x18]1803bd5300119fc.png[/img] is a linear operator.
- 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 );