Examveda
Examveda

An expression contains relational, assignment and arithmetic operators. In the absence of parentheses, the order of evaluation will be

A. assignment, relational, arithmetic

B. arithmetic, relational, assignment

C. relational, arithmetic, assignment

D. assignment, arithmetic, relational

E. None of the above

Answer: Option B


Join The Discussion

Comments ( 1 )

  1. Sanjay Sharma
    Sanjay Sharma :
    5 years ago

    yes b e.g a> c=a+b here a+b first then assignment then > condition

Related Questions on Object Oriented Programming Using C Plus Plus

A default catch block catches

A. all thrown objects

B. no thrown objects

C. any thrown object that has not been caught by an earlier catch block

D. all thrown objects that have been caught by an earlier catch block