Files
Digital-Research-Source-Code/CPM OPERATING SYSTEMS/CPM 68K/1.0X SOURCES/v102a/test/cbug5.c
Sepp J Morris 31738079c4 Upload
Digital Research
2020-11-06 18:50:37 +01:00

12 lines
190 B
C

/* pre-increment operator always executed before the evaluation
of expression, even if it contains conditional operator */
main()
{
int a, b;
a=1;
b=1;
printf("%d\n", a!=1?++b:b);
}