Variable assignment and initialization

double salary=wage=9999.99

All assignment operator (including complex assignments) have a right binding, it is the rightmost first operation performed in the expression, and then from right to left in sequence.

wage undefined

Guess you like

Origin www.cnblogs.com/suangsuan/p/12551524.html