C Language Exercise Class – Day 18
01 (Multiple Choice) To define a one-dimensional array a with 10 int elements, the following definition statements arecorrect: A) #define N 10 int a[N]; B) #define n 5 int a [2*n]; C) int a[5+5]; D) int n=10,a[n]; Answer: ABC Explanation: For option D: In the C89 standard, the size of an array must be a … Read more