Assume that the array named items contains the integer values 0, 2, 4, 6 and 8. Which of the following set of statements uses the range-based for loop to display each value in items?
A. for (int i = 0; i
cout <
}
B. for (int item : items) {
cout <
}
C. for (int item : items) {
cout <
}
D. for (int item : items.size()){
cout <
}