Answer explained
Which is valid array initialization in C++?
Correct answer: (A) int a[3]={1,2,3};
The first declaration initializes three int elements with an initializer list.
Correct answer: (A) int a[3]={1,2,3};
The first declaration initializes three int elements with an initializer list.