Question: The - ( minus ) and the ( not ) are also referred to as Unary operators and may be used
The minus and the not are also referred to as "Unary" operators and may be used in arithmetic expressions. When used in this way, they apply to the value immediately to their right, BEFORE it is evaluated in the expression.
In arithmetic expressions, the null string is evaluated as a zero, while in logical expressions it is evaluated as a False. For example, the expression
is evaluated as a null; when it is used in the arithmetic expression
the value of the expression would be ; but when used logically in the expression
the expression is False. Other examples:
Question. Which one of the following expressions is False?
&
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
