What is an operator explain any two operators?
- What is operator explain any two operator with example?
- What is operator and explain with operator?
- What is operator and explain its types?
- What is an operator define any two types of it?
What is operator explain any two operator with example?
+ (Addition) – This operator is used to add two operands. – (Subtraction) – Subtract two operands. * (Multiplication) – Multiply two operands. ... Table for Arithmetic Operators in C and C++Operator%Operanda, bOperationa % bElucidationModulus operator – to find the remainder when two integral digits are divided
What is operator and explain with operator?
The OR operator is a Boolean operator which would return the value TRUE or Boolean value of 1 if either or both of the operands are TRUE or have Boolean value of 1. The OR operator is considered one of the basic logical operators along with AND and NOT in Boolean algebra.
What is operator and explain its types?
Answer: Operators are special type of functions, that takes one or more arguments and produces a new value. For example : addition (+), substraction (-), multiplication (*) etc, are all operators. Operators are used to perform various operations on variables and constants.
What is an operator define any two types of it?
Arithmetic operators are of two types: a) Unary Operators: Operators that operate or work with a single operand are unary operators. For example: Increment(++) and Decrement(–) Operators int val = 5; ++val; // 6. b) Binary Operators: Operators that operate or work with two operands are binary operators.
Related Questions
-
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago