mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-28 16:23:10 +03:00
11 lines
202 B
C
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;
|
|
}
|