/in/foo.cc: In function 'int main()':
/in/foo.cc:9:22: error: initializer fails to determine size of 'fib'
int *fib[]=new int[n];
^
/in/foo.cc:9:22: error: array must be initialized with a brace-enclosed initializer
/in/foo.cc:10:9: error: invalid conversion from 'int' to 'int*' [-fpermissive]
fib[0]=1;
^
/in/foo.cc:11:9: error: invalid conversion from 'int' to 'int*' [-fpermissive]
fib[1]=1;
^
/in/foo.cc:13:18: error: invalid operands of types 'int*' and 'int*' to binary 'operator+'
fib[i]=fib[i-1]+fib[n-2];
~~~~~~~~^~~~~~~~~
/in/foo.cc:15:9: error: 'a' was not declared in this scope
cout<<a[i]<<" ";
^
/in/foo.cc:17:14: error: expected primary-expression before ']' token
delete *fib[]
^