在sa f()格式字符串中尾随空格的效果如何?
scanf("%d")
scanf("%d ")
#include <stdio.h>int main(void){ int i, j; printf("enter a value for j "); scanf("%d ",&j); printf("j is %d\n", j); printf("enter a value for i "); scanf("%d", &i); printf("i is %d\n", i); return 0;}
scanf()
scanf("%d ", &j);
?
慕仙森
白衣染霜花
红糖糍粑
相关分类