11 lines
202 B
C
Raw Normal View History

2018-01-24 22:24:43 +01:00
#include "hello_world.h"
2018-01-26 19:38:12 +01:00
#include <stdlib.h>
#include <string.h>
2018-01-24 22:24:43 +01:00
const char *hello(void)
{
char *ans = strdup("Hello, World!");
2018-01-24 22:24:43 +01:00
/* string is pointer of the first character */
return ans;
2018-01-24 22:24:43 +01:00
}