Operator In C++

In programming language operator is a symbol that’s helps in calculation, creating decision etc

Arithmetic Operators In C++

OperatorName
+Addition
Substraction
*Multiplication
/Division
%Modulus

Increment & Decrement Operators In C++

OperatorNameDescription
++IncrementIt’s increment one value
DecrementIt’s decremnet one value

Logical Operators In C++

OperatorNameDescription
&&ANDIt’s work’s with Multiple condition if both are ture
||ORIt’s wok’s with single and multiplication condition
!NOTIt’s works’ with negation on an expression

Relational Operators In C++

OperatorNameDescription
==is equal toFor check any number & character
<Less thanit works if less than
>Greater thanit work if greater than
<=Less than or equalit work with both less or equal
>=Greater than or equalit work with both greater or equal
!=Not equal toIf work with is not equal to

Bitwise Operators In C++

OperatorName
<<Binary Left shift operator
>>Binary Right shift operator
~Binary Ones Complement Operator
&Binary AND Operator
^Binary XOR Operator
|Binary OR Operator

Misc Operators In C++

OperatorName
,Comma Operator
?:;Conditional statement
*pointer variable declaration
&find address of a variable

If you like this post, don’t forget to share 🙂

This article is written by our awesome writer
Comments to: Operator In Cpp

Your email address will not be published. Required fields are marked *

Attach images - Only PNG, JPG, JPEG and GIF are supported.

New Dark Mode Is Here

Sign In to access the new Dark Mode reading option.

Join our Newsletter

Get our monthly recap with the latest news, articles and resources.

By subscribing you agree to our Privacy Policy.

Latest Articles

Explore Tutorials By Categories

About

Codeverb is simply an all in one interactive learning portal, we regularly add new topics and keep improving the existing ones, if you have any suggestions, questions, bugs issue or any other queries you can simply reach us via the contact page

Login

Welcome to Codeverb

Ready to learn something new?
Join Codeverb!

Read Smart, Save Time
  •  
    Strength indicator
  •  
  •  
    Log In | Lost Password