Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用scanf来为名为SIZE( ) 的宏替换赋值,但不保存另一个变量#define SIZE中附带的值?scanf
scanf
SIZE
#define SIZE
宏在预编译时由预编译器scanf评估,由编译器评估。编译器不理解宏。所以不行。