c Use the most interesting method to output 1~999

Use define to output numbers within 999

Dazai

#include <stdio.h>
#define A(x) x;x;x;x;x;x;x;x;x;x;
int main(void)
{
    
    
	int n=0;
	A(A(A(printf("%d,",n++))));
	return 0;
}

Guess you like

Origin blog.csdn.net/weixin_46242909/article/details/108152216