C Programming MCQ - Operators & Expressions

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)

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



12:  

Pick the operators that assosciate from the left

A.

+

B.

,

C.

<

D.

All of the above

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



13:  

Pick the operators that assosiate from the right

A.

?:

B.

+=

C.

=

D.

All of the above

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



14:  

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

A.

. , | I , < , =

B.

= , < , | | , .

C.

= , | | , < , .

D.

< , || , = , .

 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Write your comments here:



15:  

Pick the operators that assosiate from left to right

A.

&&

B.

?:

C.

,

D.

All of the above

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here: