Added Example and work of += operator (#23826)
* Added Example and work of += operator * Fixed formatting
This commit is contained in:
committed by
Manish Giri
parent
0cecde85d8
commit
e2fe9d1fc5
@ -22,6 +22,10 @@ While most of the operations are self-explanatory, the Conditional (Ternary) Ope
|
||||
|
||||
`expression that results in boolean output ? return this value if true : return this value if false;`
|
||||
|
||||
The Assignment operators (`+=`, `-=`, `*=`, `/=`, `%=`, `<<=`, `>>=`, `&=`, `^=`, `|=`) are just a short form which can be extended.
|
||||
Example:
|
||||
(`a += b`) does the same thing as (`a = a + b`)!
|
||||
|
||||
Example:
|
||||
True Condition:
|
||||
|
||||
|
Reference in New Issue
Block a user