First of all cannot be initialized, remove single quote, roughly speaking, the code symbol. For example
int a = '2';
put the value '50' — ASCII code of two.
You can do this:
char * MyFunc()
Note that some compilers will give you warning like "return address of local or temporary variable."
Generally, if you have to do, for example, the processing of the array, and you write this function, you can just pass it a pointer to the array that you want to work, for example:
void MyFunc(char * ch)
//here you can do something with your ch.