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
Computer Science,
3 months ago
Math,
3 months ago
English,
3 months ago
Social Sciences,
7 months ago
English,
7 months ago
World Languages,
1 year ago
English,
1 year ago