♦ Assignment Operators in C++
♣ Example3: Assignment Operators in C++
Assignment Operations in Python are used for assignment of (values)/(variable values) to variables.Operator@Working |
---|
=@Data Assignment |
+=@Addition Increment |
-=@Subtraction Decrement |
*=@Multiplication Increment |
/=@Division Decrement |
%=@Modulo Assignment |
Example
Input:
Output: