Home > DeveloperSection > Forums > why give different result in this statement
Amit Singh

Total Post:103

Points:721
Posted on    October-02-2010 5:04 AM

 Java Java 
Ratings:


 1 Reply(s)
 852  View(s)
Rate this:
for example
int s=23;
s++ and ++s
the result of s++ and ++s in java is different from c++ why?


Awadhendra Tiwari

Total Post:126

Points:882
Posted on    May-20-2011 8:29 AM

I had tried this code.

This will provide same result according to this senario.

Can you provide a working function so that I will find out possible bugs.


Recent Activities



Kamlakar Singh added new Article Use of Bootbox.js in bootstrap framework   20 hours ago

Jeet Verma added new Question What is negative infinity?   yesterday

Don't want to miss updates? Please click the below button!