#define PRICE=30定义了与30等价的符号常量PRICE
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.
原文地址: https://www.cveoy.top/t/topic/ilJC 著作权归作者所有。请勿转载和采集!