for example int s=23; s++ and ++s the result of s++ and ++s in java is different from c++ why?
why give different result in this statement Amit Singh 3033 02 Oct 2010 for exampleint s=23;s++ and ++sthe result of s++ and ++s in java is different from c++ why?
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.