C examples for Language Basics:printf
What will the following program print, string output
#define MESG "this is a test" #include <stdio.h> int main(void) { int n = 0; /*from w w w.j a v a 2 s . co m*/ while ( n < 5 ) printf("%s\n", MESG); n++; printf("That's all.\n"); return 0; }