I\'ve got a main program:
main
int main() { char *str = \"hello\"; printf(\"%s\\n\", str); /* Shift first byte 1 to get \"iello\" */ /*
You can't modify a string literal, change it to:
char str[] = "hello"; //not string literal printf("%s\n", str); str[0]++; //add 1 to the first element printf("%s\n", str);