Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

assignment operators

Please thank, like, follow and improve!!!
# Assignment Operators
 x = 7: assigning the value of 7 to the variable x 
 # In-place assignment operators
 x += y: Used to represent x = x + y
 x -= y: Used to represent x = x - y
 x *= y: Used to represent x = x * y
 x /= y: Used to represent x = x / y
 x %= y: Used to represent x = x % y
 
PREVIOUS NEXT
Tagged: #assignment #operators
ADD COMMENT
Topic
Name
3+2 =