Hi,
Can any one please explain me the difference between using a const char * or a char const *. I used both in the below program and everything worked fine except for a warning when I compiled.
Thanks in advance!!!Code:int main() { const char *s; //Or char const *s; s = (char *) malloc (10); strcpy(s, "abc"); return 0; }