Back to Multiple Choice Quiz
Array Index Output
C++ quiz · Question 13What is the output of this code?
Code
1#include <iostream>2using namespace std;34int main() {5 int arr[] = {10, 20, 30, 40, 50};6 cout << arr[3] << endl;7 return 0;8}