递规专题

在屏幕上打印0-999这1000个数字,要求不用循环,不用递规

#include <stdio.h>#define A(x) x;x;x;x;x;x;x;x;x;x;int main (void){int n = 1;A(A(A(printf ("%d ", n++))));return 0;}   转自:http://www.linuxforum.net/forum/showthreaded.php?Cat=&Board=program&