Yet another game! yay. It works like this, we take turns posting code snippets that have 1-3 bugs in them. Maybe more later. The object is to see who spots the bugs first. Ill start really, really simple.
It would make more sense to post programs which has logical problems, not syntactical. These kind of syntactical problems are even detected by my IDE (not by compiling). Also if you thought system() was a bug, then we can post "bad habit" bugs also. So my rewrite of this program would be :