What is the output of this code 
    #include <iostream>
    #include <algorithm>
    #include <vector>
    using namespace std;
    int main () 
    {
        int myints[] = { 1, 2, 3 ,4 };
        int * p;
        p = find (myints, myints + 4, 3);
        --p;
        cout << *p << '\n';
        return 0;
    }

Posted on by