This is a discussion on auto-increment!! help! within the C and C++ forums, part of the Programming Talk category; int c=6; b=c++ - --c*c++; printf("%d%d",c++ - --c*c++,b); there is a difference ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
int c=6;
b=c++ - --c*c++; b= 6 - (7-1) * 6; // now c=7 in printf function, you are starting with c=7. When you calculated b, you started with c=6 |
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Auto Commit | Ralph | Oracle Database | 6 | 01-14-2007 02:34 PM |
| Query and List, PhP Main Page Auto Listing of User Actio | CarryD | PHP | 0 | 09-02-2006 05:51 PM |
| Auto CADD Engineer (Position At Our Delhi/Noida office) | techguru | Freshers Jobs | 0 | 05-17-2005 07:59 AM |
| Auto CAD Engineer(Fresher 0-6 Months Exp.) | techguru | Freshers Jobs | 0 | 05-16-2005 08:40 AM |
| Auto Desk India recruits Freshers from top Institutes | techguru | Freshers Jobs | 0 | 05-02-2005 09:27 AM |