Output difference in gcc and turbo C

前端 未结 7 536
野趣味
野趣味 2020-12-15 22:46

Why is there a difference in the output produced when the code is compiled using the two compilers gcc and turbo c.

#include 

        
7条回答
  •  孤街浪徒
    2020-12-15 23:35

    Turbo C was optimized for fast compilation, so it doesn't have any features that would slow it down. Recognizing duplicate strings would be a slow-down, even if only minor.

提交回复
热议问题