The difference between scanf("%c", &ar) and scanf("%c", &ar, 1)
Послано
KOTnt 8 май 2013 15:21
Could anyone explain the difference between using scanf("%c", &ar) and scanf("%c", &ar, 1)?
(when I use the first, I get WA #1, when the second, I get AC)
Why is this happen and what does that third argument mean?
Thanks for the answers.