0

What's the output? I didn't get this.

int i=2; System.out.print(++i); System.out.print(++i); //Tell me the output //Please

6th Apr 2017, 1:53 AM
Maulik Bharatsinh Parmar
Maulik Bharatsinh Parmar - avatar
2 Antworten
+ 14
int i=2; System.out.print(++i); // outputs 3 System.out.print(++i); // outputs 4 https://www.sololearn.com/Discuss/164544/?ref=app
6th Apr 2017, 1:54 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
Ok
6th Apr 2017, 1:55 AM
Maulik Bharatsinh Parmar
Maulik Bharatsinh Parmar - avatar