#include <stdio.h>
#define MAX 80
int main( void )
{
char ch, buffer[MAX+1];
int x = 0;
while ((ch = getchar()) != '/n' && x < MAX)
buffer[x++] = ch;
buffer[x] = '/0';
printf("%s/n", buffer);
return 0;
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/266639.html