527,578 views
37 votes
37 votes
What is the operator used for changing the value of a variable

User Bamba
by
3.2k points

1 Answer

15 votes
15 votes

Answer:

the most common form of statementin a program uses the assignment operators=; and either an expression or a constant to assign a value to a variable: variable= expression; variable= constant; the symbol of the assignment operators looks like the mathematical equality operators but in C++ it's meaning is different

User JP Maulion
by
3.0k points