#include "stdafx.h" #include <string.h> int main() { char buffer[47]; strcpy(buffer, "%0sHelloWorld\n"); for (int i = 0; true; i++) { int c = i % 16 ; if (c % 8 == c) { buffer[1] = '0' + c; } else { buffer[1] = '0' + 8 - (c-8); } printf(buffer," "); } return 0; }