+ 1

What are assignment operators

eheheh

6th Jan 2018, 11:37 AM
Adrianna Exalto
Adrianna Exalto - avatar
4 ответов
+ 7
with assigment operator you give value to some variable like: int a = 5, where = is assigment operator
6th Jan 2018, 11:41 AM
Vukan
Vukan - avatar
+ 2
= is a assignment operator.It is used to assign values to the variables. for eg: int x=2;
6th Jan 2018, 11:42 AM
Mohd Zaki
Mohd Zaki - avatar
0
with the (=) operator we can assign a value to a variable. like x = 5980; in program we assign a value to x and now whenever we need the tedious value 5980 instead the value we use variable x that contains the value.
6th Jan 2018, 7:43 PM
Kamal Baluch
Kamal Baluch - avatar
0
thanks everyone
7th Jan 2018, 8:19 AM
Adrianna Exalto
Adrianna Exalto - avatar