Wcale nie takie głupie pytanie. Proszę bardzo:
#include <iostream>
using namespace std;
int search(int array[], int size, int key)
{
if(size<0)return -1;
if(array[size]==key)return size;
return search(array,size-1,key);
}
int main() {
int tab[]={3,5,2,4};
//wywolujemy z size-1;
cout<<search(tab,3,20);
return 0;
}