Anonymous Asked in Cars &Transportation · 2 weeks ago

What is an operator explain any two operators?

Arithmetic operators perform mathematical operations such as addition and subtraction with operands. There are two types of mathematical operators: unary and binary. Unary operators perform an action with a single operand. Binary operators perform actions with two operands.


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

Relevance
Write us your question, the answer will be received in 24 hours