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

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;
- Int means that Data_type
- A means that Variable
- = means that Assign Value
- 20 means that Value
- ; 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;
إرسال تعليق
Virtually nothing is impossible in this world if you just put your mind to it and maintain a
positive attitude.