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 ответов
+ 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