, scanf, , SPACE. , (t-1) , - gets(). , getch() . , ,
#include <stdio.h>
int main()
{
int t;
scanf("%d", &t);
while(t--)
{
char str[100];
scanf("%[^\n]c",&str);
printf("%s\n", str);
getch();
}
return 0;
}
getch() , . , scanf(), ^ scanf , , ^ , escape- NEW LINE. , , . , :)
source
share