是否可以使用scanf
为一个名为SIZE
( #define SIZE
)的宏替换赋值,但不保存另一个变量中scanf
附带的值?
Macros are evaluated at pre-compilation by pre-compiler scanf
is evaluated by the compiler. Compiler doesn't understand macros. So no.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.