Saved Bookmarks
| 1. |
What is the difference between the following statements i) and (ii)i) a = 5; ii) if (a = = 5) x = 3; |
|
Answer» In i) variable a is being assigned the value 5 whereas in ii) a is being checked for equality with 5 OR In i) assignment operator is used and in ii) relational operator ‘==’ is used. |
|