#include <stdio.h>
#include <string.h>

int main()
{
	char *hoge;

	hoge = malloc(100);
//	if (hoge == NULL) {
	if (!hoge) {
		printf("error\n");
		exit(1);
	}
	strcpy(hoge, "hello, world\n");
	printf(hoge);
	free(hoge);
	return 0;
}
