programplug Logo




C++ Operators


» An operator is a symbol that is used to perform mathematical or logical operation.
» There are common types of operators are given which are use in C++ language.


  • Arithmetic Operators
  • Relational Operators
  • Logical Operators
  • Bitwise Operators
  • Ternary or Conditional Operators
  • Assignment Operator

Arithmetic Operators

An Arithmetic operator is a mathematical operator that performs a calculation on them.


+ , - , * , / , %
 
int add=20+20;
int sub=20-10;
int mul=20*10;
int div=20/10;

output:- 40
10
200
2


Relational Operators

An operator that defines some kind of relation between two entities.


< , > , = , !=
 
int a>b;
int a==b;
int a=b;
int a!=b;

Logical Operators

Logical operator returns the boolean value true or false


||(OR) &&(AND) !(NOT)
 
int a||b;
int c&&d;
int E!=b;






Our Services

Developing Cheapest Websites
Offer Digital Marketing
Provide College Projects
Attractive Website Developing
Summer Training,Industrial Training
SCO,SMO

Contact Us

Dehradun Uttarakhand India
www.programplug.com
info@programplug.com
000000000

Other Link

About Us

Contact Us

Disclaimer

Privacy Policy