When posting code, please use the highlight tags to preserve formatting.

What does this code do? Does it compile? Does it run? What behavior is it exhibiting that is incorrect?