Syntax to initialize an array in C is?
A. int arr[3]={1,2,3};
B. int arr(3)=(1,2,3);
C. int arr{3}=[1,2,3];
D. All of these
Answer:A
Syntax to initialize an array in C is?
A. int arr[3]={1,2,3}; B. int arr(3)=(1,2,3); C. int arr{3}=[1,2,3]; D. All of these