Determine the output

Report a typo

Given the following code:

int arr[] = { 0, 1, 1, 2, 3, 5, 8, 13, 21 };
int n = 6;
n = arr[arr[n] / 2];
std::cout << n;

Write what will be output to the console

Enter a number
___

Create a free account to access the full topic