Computer Science, asked by divyanshi261, 1 year ago

HeÿA frndz ✌ ✌ ☺

✴#DïffErence between Assingnment Statement and Assignment Operators......

#©ontent quality answer required✔
no spam ❌

Answers

Answered by Anonymous
3

Hi,

Assignment operator

= is known an assignment operator in programming world, it's operator precedence is right to left means anything wich is right side of = operator will be assigned to left side.

Now lets understand it through an example

x = 5

in above example we are assigning 5 to x varible, that means x variable now contains 5

Assignment statement

Assignment statement means a unit of code which does something

x = 5

above line in example an example of assignment statment

Similar questions