which statement is used to assign a value to a variable?
Answers
Answered by
7
The most common form of statement in a program uses the assignment operator, =, and either an expression or a constant to assign a value to a variable: variable = expression; variable = constant; The symbol of the assignment operator looks like the mathematical equality operator but in C++ its meaning is different.
Answered by
3
Explanation:
The most common form of statement in a program uses the assignment operator, =, and either an expression or a constant to assign a value to a variable: variable = expression; variable = constant; The symbol of the assignment operator looks like the mathematical equality operator but in C++ its meaning is different.
Similar questions
Math,
2 months ago
Math,
2 months ago
Math,
2 months ago
Social Sciences,
5 months ago
English,
5 months ago
World Languages,
10 months ago
English,
10 months ago