ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
&&
|
|
||
|
|
!
|
|
&
|
Detailed explanation-1: -A logical operator, also called a logical connective or a truth function, is a symbol or word used to connect two or more sentences, such that the sense of the compound sentence produced depends only on the original sentences.
Detailed explanation-2: -The logical AND operator ( && ) returns true if both operands are true and returns false otherwise.
Detailed explanation-3: -These symbols are called logical connectives, logical operators, propositional operators, or, in classical logic, truth-functional connectives.
Detailed explanation-4: -/is the logical not operator. && is the logical and operator. It returns TRUE if both of the arguments evaluate to TRUE. This operator supports short-circuit evaluation, which means that if the first argument is FALSE the second is never evaluated.