int main()
{
char *ch="girl";
int x=strlen(ch);
*ch=ch[x];
printf("%c",*ch);
getch();
return 0;
}
Why there is a runtime error during the assignment of a NULL value to the pointer to character?