#include "hello_world.h" #include #include const char *hello(void) { char * ans = malloc(sizeof(char) * strlen("Hello, World!")); if (!ans) return NULL; strcpy(ans,"Hello, World!"); /* string is pointer of the first character */ return ans; }