#include <stdio.h>
#include <stdlib.h>
int main() {
int n = 4;
int *list = malloc(64 * sizeof(int));
*(list + 0) = 1;
*(list + 1) = 1;
int h = 2;
int c = 1;
while (h < 32) {
*(list + h) = *(list + h-1) + *(list + h-2);
h++;
}
aho:
h = -1;
while (h < 31) {
h++;
printf("%d ",*(list + h));
}
aho2:
free(list);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: