Which of the following expressions are legal? (Choose all that apply.)
B, C.
In option A, the use of ! is illegal because x is of int type, not boolean.
In option B, the comparison operation is valid, because the expression (x > 3) is a boolean type and the ! operator can properly be applied to it.
In option C, the bitwise inversion operator is legally applied to an integral type.