2079 8

BIT102 ยท 2079 ยท 5 marks

What is operator associativity? Explain conditional and Logical operators in brief.

What is operator associativity? Explain conditional and Logical operators in brief. [5]

C ProgrammingChapter 3: Operators and ExpressionsOperator precedence and associativity

Operator associativity defines the order in which operators of the same precedence are evaluated in an expression when they appear together. There are two types: Type Direction Example Operators ------------------------------------ Left-to-right Evaluated left first +, -, , /, % Right-to-left Eva...