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

Total Post:103

Posted on    October-02-2010 5:04 AM

 Java Java 

 1 Reply(s)
 781  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

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   8 days ago

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

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

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