#include #include #include int main (int argc, char **argv); int main (int argc, char **argv) { int i; char *c = "HELLO"; printf ("%s\n",c); c[0] = 'J'; printf ("%c\n",c[0]); for (i=0; i < strlen(c); i++) printf ("%c",c[i]); printf ("\n"); printf ("HELLO"); printf ("\n"); return 0; } /* The GNU C Compiler for Windows would change the H to a J in the constant string so that any subsequent time you said printf ("HELLO"), it would print JELLO instead. */