write a declaration statment for a 1D array called timedata
write a declaration statment for a 1-D array called timedata with a lenght of n, where n is a pre-declared integer variable. (in other words, n hs already been declared in adavnce.) (remember, you cannot intialize variable-lenght arrays in a decleration statement)
 
Solution
To declare an array in C, a programmer specifies the type of the elements and the number of elements required by an array as follows
type arrayName [ arraySize ];
Answer to your question is=
int timedata[n];

