TheAlgorithms-C/exercism/hello_world/hello_world.c
2020-05-29 20:23:24 +00:00

11 lines
202 B
C

#include "hello_world.h"
#include <stdlib.h>
#include <string.h>
const char *hello(void)
{
char *ans = strdup("Hello, World!");
/* string is pointer of the first character */
return ans;
}