57 lines
1.2 KiB
C
57 lines
1.2 KiB
C
//#include <stdio.h>
|
|
//#define PRINT "test"
|
|
//#define FT(x) int main(){\
|
|
// char *to_print = "hello "x" hello";\
|
|
// printf("%s", to_print);\
|
|
// return 0;\
|
|
//}
|
|
//#define SFT(x) FT(x)
|
|
//
|
|
//FT(PRINT)
|
|
|
|
|
|
//#include <stdio.h>
|
|
//#define PRINT to_print, 10
|
|
//#define FT(...) int main(){\
|
|
// char *to_print = "hello %c"#__VA_ARGS__" hello";\
|
|
// printf(PRINT);\
|
|
// return 0;\
|
|
//}
|
|
//#define FFT(...) FT(__VA_ARGS__)
|
|
//
|
|
//FFT(PRINT)
|
|
|
|
|
|
//#include <stdio.h>
|
|
//#define PRINT to_print, 10
|
|
//#define FT(x) int main(){\
|
|
// char *to_print = "hello %c"#x" hello";\
|
|
// printf(x);\
|
|
// return 0;\
|
|
//}
|
|
//
|
|
//FT(PRINT)
|
|
|
|
|
|
//#include <stdio.h>
|
|
//#define PRINT quine, 10, 10, 10, 34, quine, 34, 10, 10, 10, 10, 10
|
|
//#define FT(x) int main(){\
|
|
// char *quine = "#include <stdio.h>%c#define "#x" %c#define FT int main(){%c char *quine = %c%s%c;%c printf(PRINT);%c return 0;%c}%cFT%c";\
|
|
// printf(x);\
|
|
// return 0;\
|
|
//}
|
|
//
|
|
//FT(PRINT)
|
|
|
|
|
|
#include <stdio.h>
|
|
#define PRINT quine, 10, 10, 10, 34, quine, 34, 10, 10, 10, 10, 10
|
|
#define FT(...) int main(){\
|
|
char *quine = "#include <stdio.h>%c#define "#__VA_ARGS__" %c#define FT int main(){%c char *quine = %c%s%c;%c printf(PRINT);%c return 0;%c}%cFT%c";\
|
|
printf(PRINT);\
|
|
return 0;\
|
|
}
|
|
#define FFT(...) FT(__VA_ARGS__)
|
|
|
|
FFT(PRINT)
|