Created
August 19, 2017 15:50
-
-
Save io12/f283915a9a0d3ad730f2226a0cc33fc7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <limits.h> | |
#include <stdio.h> | |
int main(void) | |
{ | |
int i, j, c; | |
printf("typedef void (*a)(void);\n"); | |
for (i = 0; i < 25; i++) { | |
c = i + 'a'; | |
printf("typedef %c (*%c)(", c, c + 1); | |
for (j = 0; j < INT_MAX; j++) { | |
putchar(c); | |
if (j != INT_MAX - 1) { | |
printf(", "); | |
} | |
} | |
printf(");\n"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment