How to pass int and return string in C?

hi
I want to write a function which takes int as input and returns a string like this.

char GetString(int iNo)
{
  switch(iNo)
  {
     case 0:
        return "Zero";
        break;
     case 1: 
         return "One";
         break;
  }
}
void main()
{ 
 int i;
 printf("Enter number");
 scanf("%d"; i);
 char str = GetString(i);
}

but am getting error. How to write this kind of function in C? Please help, its urgent
Thanks

A char is not a string. A string is an array of characters.

char *function()
{
        return("slartibartfast");
}

int main()
{
        char *str=function();
        printf("Got %s\n", str);
}

Also keep in mind that it's fine to return a constant "string", but you don't want to return the contents of a local variable.