#define MESG this is a test #include stdio.h int main(void) { int n = 0; while ( n 5 )
编程学习网为您整理以下代码实例,主要实现:以下程序将打印什么字符串输出?,希望可以帮到各位朋友。
#define MESG "this is a test"
#include <stdio.h>
int main(voID) {
int n = 0;
while ( n < 5 )
printf("%s\n", MESG);
n++;
printf("That's all.\n");
return 0;
}