#include <stdio.h>
#include <stdlib.h>
typedef struct {
int Num;
char *Text;
} base;
int main() {
base *list = malloc(4 * sizeof *list);
int *p = malloc(4 * sizeof *list);
*(p + 0) = 0;
*(p + 1) = 0;
*(p + 2) = 0;
*(p + 3) = 0;
(*(list + 0)).Num = 0;
(*(list + 0)).Text = "א";
(*(list + 1)).Num = 1;
(*(list + 1)).Text = "A";
(*(list + 2)).Num = 2;
(*(list + 2)).Text = "B";
(*(list + 3)).Num = 3;
(*(list + 3)).Text = "C";
while (*(p + 0) < 4) {
*(p + 1) = 0;
while (*(p + 1) < 4) {
*(p + 2) = 0;
while (*(p + 2) < 4) {
*(p + 3) = 0;
while (*(p + 3) < 4) {
printf("%s",(*(list + *(p + 0))).Text);
printf("%s",(*(list + *(p + 1))).Text);
printf("%s",(*(list + *(p + 2))).Text);
printf("%s\n",(*(list + *(p + 3))).Text);
*(p + 3) += 1;
}
*(p + 2) += 1;
}
*(p + 1) += 1;
}
*(p + 0) += 1;
}
free(list);
free(p);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: