#include <stdio.h>
int main(void)
{
char name1[11], name2[11];
int count;
printf("Please enter 2 names./n");
count = scanf("%5s %10s",name1, name2);
printf("I read the %d names %s and %s./n", count, name1, name2);
return 0;
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/266526.html