11
What will be the output of the program?
#include <iostream>
using namespace std;
int main() {
int arr[3] = {1, 2, 3};
for (int v : arr) v *= 10;
cout << arr[0] + arr[2] << endl;
return 0;
}Medium