160k views
1 vote
Which statement is used to assign value to a variable?

User Chabad
by
5.4k points

1 Answer

2 votes

Answer:

the "=" sign is used to assign value to a variable. Example:


int number = 25;

You are basically assigning the value '25' to a variable of type 'integer' called 'number'.

Step-by-step explanation:

User Morteza Kavakebi
by
4.9k points