More Related Content
Similar to Operators Expressions Lecture PGT Comp Sci Faculty JNV Naugar
Similar to Operators Expressions Lecture PGT Comp Sci Faculty JNV Naugar (20)
Operators Expressions Lecture PGT Comp Sci Faculty JNV Naugar
- 1. Operators and Expressions Lecture 3 by Jugal Kishor Bajia (PGT Comp. Sc.) Faculty of Computer Science & Informatics Practics JNV Naugar(Raj)
- 10. Ternary Expression (a>2) ? 1: 0 Operator First operand is a condition Second operand is a value Third operand is another value
- 31. Precedence & associativity ! Unary – * / % + – < <= >= > = = != && || = higher precedence lower precedence Associativity: execute left-to-right ( except for = and unary – )