Does anyone know how i can have a funcion return a string?
char wintest(int x1,int y)
{
if ((count1==1)||(count1 == 3) || (count1 == 5) || (count1 ==7) || (count1 == 9))
return win;
}


// this is declared before the main
char win []= {
"Player 1 is the winner",
};

so as far as i can tell win should hold the string but char only returns one character. so basically im stuck. any suggestions?
thanxxxxx