I was looking through the tutorials for c, and I was on the one about command line processing. I believe it was #14, but I'm not sure.
The example was reading in a file, but it needed argc to be equal to 2 in order to work right. The example checked for that value and everything.
This website is not the first place I've seen someone write their code like that before.
My question is this: Why does it have to be exactly 2? Couldn't it be 1 instead? Possibly 3 or 4? But it would at least seem to me to be more reasonable to make sure the count is 1 instead of 2. Afterall file names don't always have white space in them.