The Algorithms logo
The Algorithms
Про AlgorithmsПожертвувати

Hello World

#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;
}