I can't identify my mistake. I need to create a function `int search (int *p, int s, int n)` that will search the array for target, and if found it it will return the adress yet if not found it will return `NULL`; 

```
#include <iostream>
using namespace std;

int search(int *p , int s, int n)
{
    for(int i = 0; i < s; i++)
    {
        if(*p == n)
            return &p;
        p++;
    }

    return NULL; 
}

int main()
{
    int n;
    int arr[6] = {1, 2, 3, 4, 5, 6};

    cout << "Enter target: "<< endl;
    cin >> n;

    cout << search(arr, 6, n) << endl;

    return 0;
} 

```