C: Uso de fgets e fputs com stdin e stdout

From AdonaiMedrado.Pro.Br
Jump to: navigation, search
#include <stdio.h>
 
int main(void)
{
	char s[5];
	fgets(s,5,stdin);
	fputs(s,stdout);
	return 0;
}