What is difference between i++ and ++i?

Question:What is difference between i++ and ++i?

1.i++ return value first then increment the i

2.++i return value first then increment the i

3.++i increment first then return value

4.1 and 3 are true


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!