这两个scan函数有什么区别

2024-11-18 15:31:18
推荐回答(2个)
回答1:

char ch;
scanf("%lf %lf %c %c",&number1, &number2, &operation, &ch);

用ch 获取 回车键

回答2:

"double空格char空格double" 与 “double空格char空格double”有不同么?