I am getting a seg fault for the below code, is there something wrong?
Here I am trying to shift the bits in a.
Also, I know char * is a read only memory.
So, we have to copy into char a[] and then modify it???
char *str = "abc";
*str = *str << 1;