How do you initialize an array in C?
A. int arr[3] = 1,2,3;
B. int arr3 = {1,2,3};
C. int arr[3] = {1,2,3};
D. int arr3 = 1,2,3;
Answer:C
How do you initialize an array in C?
A. int arr[3] = 1,2,3; B. int arr3 = {1,2,3}; C. int arr[3] = {1,2,3}; D. int arr3 = 1,2,3;