By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,109 Members | 993 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,109 IT Pros & Developers. It's quick & easy.

Minute doubt

P: 2
Expand|Select|Wrap|Line Numbers
  1. int i=1,j=i----2;
  2. printf"%d",j);
This resulted me 3,I want to know how i--- -2 worked...
Feb 11 '17 #1
Share this Question
Share on Google+
1 Reply


weaknessforcats
Expert Mod 5K+
P: 9,197
This won't even compile using Visual Studio 2013.
Feb 11 '17 #2

Post your reply

Sign in to post your reply or Sign up for a free account.