#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; }
Not registered? Create an account
Forgot Password?
Already a registered user? Login