Unary and Binary refer to the number of __________ needed by the operator.

Unary and Binary refer to the number of __________ needed by the operator.
A. Operation
B. Operand
C. Expression
D. Operator
 
Answer: B
Explanation: Unary and binary refers to the number of operands required by the operator. Unary requires single operand. Example of such is negation, such as -10, 12, -a, -b, etc. binary requires two operands. Example of such is addition, subtraction, multiplication, division, such as a+b, a-b, a*b, a/b etc.
 

Tìm kiếm

Back
Top