15
What will be the output of the program?
#include <iostream>
using namespace std;
#include <vector>
#include <algorithm>
int main() {
vector<int> v = {4, 8, 15, 16, 23, 42};
cout << (find(v.begin(), v.end(), 16) - v.begin()) << endl;
return 0;
}Easy