mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-24 22:39:52 +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;
|
|
}
|