70.9k views
4 votes
The statement which assigns value to variable is called a........................statement in c++

User Jasenkoh
by
3.9k points

1 Answer

5 votes

Answer:

the statement which assigns value to variable is called Assignment statement in c++

Step-by-step explanation:

Assignment Statement is the statement in C++ programming that is used to assign a constant value or some expression to the variable. Assignment operator is used to assign the value or expression to the variable.

Single equal (=) symbol is use as assignment operator in C++.

For Example

If we want to assign some value or expression in C++, it will be written as:

Variable = Value;

or

Variable = Expression;

Both of the above mentioned examples shows the Assignment Statements.

User Pof
by
3.5k points