I did'nt understand here in this code i was reading a book and then
const char *q="Hello"; //string is fixed pointer is not
*q='M'// error
q="bye"; //works
char * const t="Hello"; //string is fixed pointer is not
*t='M'// works
t="bye"; //error
so my question is in first if string is fixed then how q="bye" is working