Q: I had a frustrating problem which turned out to be caused by the line
printf("%d", n);where n was actually a long int. I thought that ANSI function prototypes were supposed to guard against argument type mismatches like this.
A: See question 15.3.