题目内容

The simplest C selection statement is the one-way if statement.

查看答案
更多问题

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. %%

答案查题题库