Question
Which is the correct way to initialize an array with 3 values?
Correct Answer: A
int a[3] = {1, 2, 3};
The correct answer is int a[3] = {1, 2, 3};.
The correct answer is int a[3] = {1, 2, 3};.
int a[3] = {1, 2, 3};
The correct answer is int a[3] = {1, 2, 3};.
The correct answer is int a[3] = {1, 2, 3};.
Leave a Reply