c语言scanf()如何实现多行输入?

2024-11-21 01:29:07
推荐回答(1个)
回答1:

int _tmain(int argc, _TCHAR* argv[])
{
int a = 10, b = 11;
scanf("%d\
%d",&a,&b);
return 0;
}