#include <stdio.h>
main()
{
int t,i;
scanf("%d",&t);
check();
return 0;
}
int check()
{
char s[20];
gets(s);
printf("%s",s);
return 1;
}
When I run this check function, this function does not take input and immediately exits. I don't know why please tell me