For Loop Tricks:
#include<stdio.h> int main() { int i; i=1; for(printf("Hi\n");i<=5;printf("Dave\n")){ printf("Hello World\n"); i++; } return 0; }
Output:
Hi Hello World Dave Hello World Dave Hello World Dave Hello World Dave Hello World Dave Process returned 0 (0x0) execution time : 0.043 s Press any key to continue.