为什么我编译不了,无论unsigned long long int Fibonacci[numfibs];放哪里都是错误,应该跟这个没关系,错误在哪呢?
#include "stdio.h"
main()
{
int i,numfibs;
printf("How many Fibonacci number is you want (between 1 and 75)?");
scanf("%i",&numfibs);
if (numfibs<1||numfibs>75){
printf("Bad number,sory!\n");
return 1;
}
unsigned long long int Fibonacci[numfibs];
Fibonacci[0]=0;
Fibonacci[1]=1;
for (i=2;i<numfibs;++i)
Fibonacci[i]=Fibonacci[i-2]+Fibonacci[i-1];
for (i=1;i<numfibs;++i)
printf("%llu",Fibonacci[i]);
printf("\n");
return 0;
}