In C any expression can be tested within a selection statement, be it a relational, arithmetic, or assignment expression, or even a function call with returned value.
查看答案
Within a selection statement, an expression that evaluates to 0 or less is considered as false, while any positive is considered as true.
The logical AND operator is ____.
A. ||
B. &&
C. !
D. %%
The logical OR operator is ____.
A. ||
B. &&
C. !
D. %%
The logical NOT operator is ____.
A. ||
B. &&
C. !
D. %%