C的高速趋向实验 ->

C的快速趋向实验 -->
今天刚学到C的一个新玩法,非常有意思,叫趋向于,写作“-->”,比如说如果要实现一个倒数的程序,我们可以定义一个变量 counter,然后让它趋向于0...
 1 #include <stdio.h>
 2 
 3 int main(int argc, char **argv)
 4 {
 5     int counter = 10;
 6     while(counter --> 0)
 7     {
 8         printf("%d ",counter);
 9     }
10     printf("\nhello world\n");
11     return 0;
12 }

打印输出:

9 8 7 6 5 4 3 2 1 0
hello world