void _main(){{char data_buf[100]="";char * data=data_buf;printLine("Please enter a string: ");fgets(data, 100, stdin);printLine(data);}}
static void main(){{char data_buf[100]="";char * data=data_buf;printLine("Please enter a string: ");if (fgets(data, 100, stdin)==NULL){printLine("fgets failed!");exit(1);}printLine(data);}}