C Language MCQ’S : Operators and Expressions Set 1

11.
In an operation involving || operator, evaluation

A. takes place from left to right
B. will be stopped if one of its components evaluates to true
C. takes place from right to left
D. both (a) and (b)

 

12.
Pick the operators that assosciate from the left

A. +
B. ,
C. <
D. All of the above

13.
Pick the operators that assosiate from the right

A. ?:
B. +=
C. =
D. All of the above

14.
The operators . , || , < , = , if arranged in the ascending order of precedence reads

A. . , | I , < , =
B. = , < , | | , .
C. = , | | , < , .
D. < , || , = , .

15.
Pick the operators that assosiate from left to right

A. &&
B. ?:
C. ,
D. All of the above