Declaring Array in C with variable length [closed]
int n, fibs[n]; attempts to define an array using n for the length, but n has not been initialized, so its value is not determined. Common consequences include: The definition behaves as if n has some small value, possibly zero, and then the following code attempts to store values in the array but overruns the … Read more