1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-12-08 00:45:29 +01:00
programming-challenges/challenges/hello-world/solutions/c/function/solution.c

12 lines
174 B
C

#include <stdio.h>
#include <stdlib.h>
#include "input.h"
int main() {
char *string = input();
printf("Hello, %s!\n", string);
free(string);
return EXIT_SUCCESS;
}