#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char **argv){
char NOT_MALLOC[] = "Hello World!";
char *MALLOC = malloc(strlen(NOT_MALLOC) + 1); //+1 => Null terminator
strcpy(MALLOC, NOT_MALLOC);
printf("Not Malloc: %s\n", NOT_MALLOC);
printf("Malloc: %s\n", MALLOC);
NOT_MALLOC[0] = 'Z';
MALLOC[0] = 'Z';
printf("Not Malloc: %s\n", NOT_MALLOC);
printf("Malloc: %s\n", MALLOC);
return 0;