[user02@FC4 Lesson06]$ cat -n inc_op.c
1 #include <stdio.h>
2
3 int main(void)
4 {
5 int count = 1000;
6
7 printf("count's starting value is %d\n", count);
8 count++;
9 printf("count's ending value is %d\n", count);
10
11 return 0;
12 }
[user02@FC4 Lesson06]$ gcc -o inc_op inc_op.c[user02@FC4 Lesson06]$ ./inc_op
count's starting value is 1000
count's ending value is 1001
lesson_6_inc_op.c, Rev. 1, Last changed on 2005-08-09 02:26, 312 page hits