高手帮忙看下 这个 printf语句的输出结果 谢谢
结果是这个:%s! C is cool!
! C is cool!
为什么不是这个:
%s! C is cool!
%s! C is cool!
#include <stdio.h>
#define FORMAT "%s! C is cool!\n"
int main(void)
{
int num = 0;
printf(FORMAT,FORMAT);
return 0;
}
/*
%s! C is cool!
! C is cool!
--------------------------------
Process exited after 0.03856 seconds with return value 0
???????. . .
*/