#include <stdio.h>
#define stringify(s) tostring(s)
#define tostring(s) #s
#define MAX_VALUE 65536
#define NUM 64 * 1024
enum {
MIN_VALUE = 1024,
};
int main(int argc, char *argv[])
{
const char *max_str = stringify(MAX_VALUE);
const char *min_str = stringify(MIN_VALUE);
printf("max = %s, min = %s\n", max_str, min_str);
return 0;
}
输出为 "max = 65536, min = MIN_VALUE num = 1024 * 64" 专家,我怎样才能修改我的代码输出如下:max = 65536, min = 1024 num = 65536
谢谢 。