Fixing Bugs: Phase 2.1

Welcome to Phase 2.1, where bugs are not just bugs, but tiny monsters that need to be slain.

Code Fragment:

BUG: int main() {
  int x = 5;
  int y = 3;
  int z = x + y;
  BUG: z = z + 1;
  return z;
}
      

This is a typical example of code that will drive you insane. The bug is the extra semicolon at the end of the last line. It's like a tiny, invisible spider that's been injected into the code and will drive you mad with its subtle yet malevolent presence.