C/C++ 中 #define PRICE=30 的含义 - 符号常量定义
Yes, that is correct. The statement "#define PRICE=30" defines a symbol constant PRICE that is equivalent to the value 30. This means that anytime PRICE is used in the code, it will be replaced with the value 30 during the pre-processing stage.
原文地址: http://www.cveoy.top/t/topic/p3L7 著作权归作者所有。请勿转载和采集!