aboutsummaryrefslogtreecommitdiffstats
path: root/scanf.c
blob: 80577f6eb1dfd5f155ce72d4fa9e1569f52707d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>
#include <stdlib.h>

int main(void)
{
	char *input;

	scanf("%ms", &input);

	printf("%s", input);
	free(input);

	return EXIT_SUCCESS;
}