CJCoding With Joseph
15per day
← Back to Question List

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics:
C++ Quiz #13

Array Index Output

easyArrays

What is the output of this code?

📄 Code

1#include <iostream>
2using namespace std;
3 
4int main() {
5 int arr[] = {10, 20, 30, 40, 50};
6 cout << arr[3] << endl;
7 return 0;
8}