●)૭٩(●´৺
scanf_s( ) --> 安全的scanf函数,有第三个参数,第三个参数要加上最大获取多少个数据。
scanf_s("%d%c%d", &a, &op, &b); 改为 scanf_s("%d%c%d", &a, &op,1, &b);