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)
 783  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 Blog Convert Text Document to PDF File   10 days ago

Kamlakar Singh added new Article Introduction to Backbone.js   10 days ago

Kamlakar Singh added new Question Explain the AdRotator Control.   11 days ago

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