1
|
#define MAX_COUNT 20
|
What's the output? (Answer in the comments)
... about programming, growing up in the 1970's and 80's, games, science fiction, working in a charity book shop, films, spending too much time watching television, living in Basildon and Essex, and whatever else emerges from my fevered imagination. If you're reading this, it's your fault you clicked on the link: I am not responsible for your actions.
1
|
#define MAX_COUNT 20
|
There should only be one line:
ReplyDeleteThe value of the counter is 19
This is because there's a semi-colon at the end of the "for" statement, terminating it prior to the printf. See, tricky!
Sorry, that should be "The value of the counter is 20", not 19! See how easy it is!
ReplyDelete