dos_compilers/Mix C v251/EXAMPLES/EXAM26.C
2024-07-24 09:30:16 -07:00

20 lines
375 B
C

main() /* Example 2.6 */
{
int xx,ii;
int yy,jj;
jj = ii = 0;
xx = jj++ + ++jj;
printf("xx = %d, jj = %d, ii = %d\n",xx,jj,ii);
yy = jj *= xx++ + ++ii + 3;
printf("yy = %d, jj = %d, xx = %d, ii = %d\n",
yy,jj,xx,ii);
ii = ++ii;
printf("ii = %d\n",ii);
printf("1st --yy = %d, 2nd --yy = %d",--yy,--yy);
}