Variable = Expression ; |
(This makes sense, because the variable can only hold value of that particular type)
int x; short s; x = 62736215; s = x; // You will have truncation errors // C++ allows it !!! // Other more "caring" languages like Java does not... |
Variable1 = Variable2 = ... = Expression ; |
The result of the Expression is assigned to all variables