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)
 1113  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

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