Post

🌒 Eclipse Java IDE
🌒 Eclipse Java IDE@EclipseJavaIDE·
What value of 'i' will be printed out? (don't try it before hand ;)
🌒 Eclipse Java IDE tweet media
English
93
14
86
0
Giovanni
Giovanni@giovanni_n4·
@EclipseJavaIDE Evaluation goes left to right (++i) is increment and get so (i=1) is evaluated to 1 + (i--) is get and decrement so is evaluated to 1 and (i=0) + i which is 0 now a final expression is 1+1+0 = 2 S = 2
English
0
0
0
0
Paylaş