What are Operators? Explain with examples?
Answers
Answer:
An operator in a programming language is a symbol that tells the compiler or interpreter to perform specific mathematical, relational or logical operation and produce final result.
Answer:
An operator is a symbol that operates on a value or a variable.
Explanation:
In mathematics and sometimes in computer programming, an operator is a character that represents an action, as for example x is an arithmetic operator that represents multiplication. In computer programs, one of the most familiar sets of operators, the Boolean operators, is used to work with true/false values. Boolean operators include AND, OR, NOT (or AND NOT), and NEAR.
Types of Operators in C and C++
1.Arithmetic Operators. It includes.
2.Relational Operators. ...
3.Logical Operators. ...
4.Assignment Operators. ...
5.Bitwise Operators. ...
6.Miscellaneous Operators.