1 2 3 4 5 6 7 8 9 10 11 12 13
# include <stdio.h> int main(void) { char string[] = "jesus is love"; char *pointer = string; *pointer = 'J'; printf("God is love %c \n", *pointer); printf("God is love %s", pointer); return 0; }
1 2
God is love J God is love Jesus is love