38.3k views
0 votes
What is the operator used for changing the value of a variable

1 Answer

7 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 Shaun Cockerill
by
4.3k points