Assignment Operators in C++ - by E3 School

Define Assignment Operators in c++. Explain all points with examples and easy to understand Assignment Operators.

Assignment Operators in C++

Assignment Operators:

The Assignment Operators " = "is the operators used to assign Value. Otherwise Define, Assignment Operators are used to assigning to value variables.
For Example:
int A= 20;
Explain That:
Int A= 20;
  1. Int means that Data_type
  2. A means that Variable 
  3. = means that Assign Value
  4. 20 means that Value
  5. ; means that End 
//Every line code close
"A Assign Value 20 "
Addition Assignment :
The addition assignment operators to adds the value. Use the addition assignment operators "+=".
For Example:
Same as A=A+3;


Post a Comment

Virtually nothing is impossible in this world if you just put your mind to it and maintain a
positive attitude.

Previous Post Next Post