|
|
back to boardThe difference between scanf("%c", &ar) and scanf("%c", &ar, 1) Posted by KOTnt 8 May 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. |
|
|