Computer Science, asked by rohansahoo098, 5 months ago

which statement is used to assign a value to a variable?​

Answers

Answered by nandhanasnair07
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 koku59
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