Lecture# 11 Types of Operators in C++ with example | C++ Programming Tutorials in Urdu

Operator

  • Used to perform some action

Types of Operators in C++

There are various types of operators

  • Binary(at least two operands)
  • Unary(single operand)

Expression

  • That evaluates some action

Example:

sum = a+b;

Binary Operators

  • Arithmetic Operator(+,-,*,%,/)
  • Relational Operator(>,<,<=,>=,==,!=)
  • Logical Operator(And(&&),OR(||),NOT(!))

Unary Operator

  • Increment Operator(++)
  • decrement Operator(–)

Watch video for more information

Leave a Reply