If I have a function that returns a (char)
in c and I have a (char* getSomething)
how do I cast it? It is giving me an error when I try to cast it through either (char*)
or (char*)&
Example: If the function is :
char* getSomething;
getSomething = getSth(var);
getSth return a char