162k views
3 votes
What character makes an assignment statement an assignment statement?

1 Answer

1 vote

Answer:

'='

Step-by-step explanation:

The equal ('=') is the character that is used to assign the value in the programming.

In the programming, there is a lot of character which has different meaning and uses for a different purpose.

like '==' it is used for checking equality between the Boolean.

'+' is a character that is used for adding.

'-' is a character that is used for subtraction.

similarly, '=' used for assigning.

for example:

a = a + b;

In the programming, the program evaluates the (a + b) first and then the result assigns to the variable.

User Vidhyut Pandya
by
6.5k points