Saved Bookmarks
| 1. |
Explain logical operators with example? |
|
Answer» The operators which perform combine or negate the expressions that contain relational operators, are called logical operators. Logical operators are used to combine one or more relational expressions. The logical operators are: 1. ! (NOT), 2. || (OR), 3. && (AND). For example, if (age>18 && citizen =”Indian”) |
|