World Languages, asked by virat688, 1 year ago

what is operator. list the operator used in c+++

Answers

Answered by PrativaDewri
2
Operators are the foundation of any language that help us to perform specific mathematical and logical computations on operands.

The operators used in C++ are:-
1) Arithmetic operators
2) Relational operators
3)Logical operators
4)Assignment operators
5)Arithmetic Assignment operators
6)Increment/Decrement operators
7)Bitwise operators
8)Ternary operators
9)Special operators (comma, sizeOf)

Hope it would hlp u..
Plz mark brainliest!!❤❤
Answered by StaceeLichtenstein
0

Operator is used to perform the operation between the two operands .There are many types of operator in c++ given below

Explanation:

There are different type of operator in C++

  • Arithmetic:The arimetic operator is used when we have to perform maths operation . + , - , *  , / , %  are under this category.
  • logical: When we have to combine one or more condition and test the condition then we have used logical operator .&& ,||,!  are under this category .
  • Relational : Relational operator are used to compare more then one variable. >, <, >=, <=,!=  are under this category .
  • Bitwise: When we have to perform operation on bits then we have used bitwise operator,&,| ,etc are under this category .
  • Assignment operator: These operator is used for assigning the value to variable .=  are under this category.
  • Unary: These operator is used for single operands.increment and decrement are under this category.
  • There are so many other operator like comma,sizeof etc.

Learn More:

  • https://brainly.in/question/5453969
Similar questions