We can achieve this by adding an integer(>0) in the string format. int a;scanf("%5d", &a);. The code above, would take just first 5 digit as ...
確定! 回上一頁