Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
8.Which statement correctly initializes an array of 5 integers with values 1, 2,3, 4, and 5?
8.
Which statement correctly initializes an array of 5 integers with values 1, 2,
3, 4, and 5?
intarr[5] = (1, 2, 3, 4, 5);
int
arr[5] = (1, 2, 3, 4, 5);
int arr[5] = {1, 2, 3, 4, 5};
intarr[5] = {1, 2, 3, 4};
arr[5] = {1, 2, 3, 4};
intarr[] = {1, 2, 3, 4, 5};
arr[] = {1, 2, 3, 4, 5};
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!