char * a , *b;
void search(string main,string second);
the question is that if i pass char * to this function will it recieve it and function properly ???
search(a,b); //function call
Whether the function will work correctly nobody knows except you.:)