Sponsored By
DataConverter
Advertise with Us
Advertisement
Advertise with Us
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit an Article | Submit Blog
Report Abuse Form
Reason:    
   

Home >> Java Programming >> Java >> why give different result in this statement
Author Post

Amit Singh


Total Post: 104
Member Since: 8/8/2010
Points: 702
why give different result in this statement
Posted On: 10/2/2010 5:04:56 AM
for example
int s=23;
s++ and ++s
the result of s++ and ++s in java is different from c++ why?
Author Post

Awadhendra Tiwari


Total Post: 126
Member Since: 1/19/2011
Points: 893
Re: why give different result in this statement
Posted On: 5/20/2011 8:29:49 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.

Report Abuse Form
Reason:    
 
Total Online Users: 3501
Advertisement
MindStick DataConverter
Advertise with Us
  
Copyright © 2014MindStick. All Rights Reserved.