C Program Debugging Questions