Why equal sign is called assignment operator rather than equal operator so what we say to this (x=y) x assign to y. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Why equal sign is called assignment operator rather than equal operator so what we say to this (x=y) x assign to y.

Assignment operator

23rd Mar 2019, 10:40 AM
Vishal Yadav
Vishal Yadav - avatar
6 Respostas
+ 8
I '==' āž boolean equals ' = ' āž assignment
23rd Mar 2019, 3:34 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 7
~ swim ~ x assigns y is the same as y is assigned to x šŸ˜‰ = assigns the right operand to the left
23rd Mar 2019, 3:04 PM
D_Stark
D_Stark - avatar
+ 5
Yes , x assigns y
23rd Mar 2019, 10:44 AM
D_Stark
D_Stark - avatar
+ 5
Vishal Yadav šŸ‘ You are welcome! šŸ˜Š I learned it this way and it's much easier for me to remember, because in this way I separated the meaning of the operator.
23rd Mar 2019, 5:02 PM
Danijel Ivanović
Danijel Ivanović - avatar
23rd Mar 2019, 3:38 PM
Vishal Yadav
Vishal Yadav - avatar
0
Kk thanks
23rd Mar 2019, 10:44 AM
Vishal Yadav
Vishal Yadav - avatar