Skip to content

Instantly share code, notes, and snippets.

@tnhung2011
Last active December 13, 2025 14:08
Show Gist options
  • Select an option

  • Save tnhung2011/04b5b8a187e1f4dc16dffb1afcbc3a6d to your computer and use it in GitHub Desktop.

Select an option

Save tnhung2011/04b5b8a187e1f4dc16dffb1afcbc3a6d to your computer and use it in GitHub Desktop.
Tested on https://www.onlinegdb.com/ with Turbo C and gcc compilers
#include <stdio.h>
#include <limits.h>
int main(void) {
int i = CHAR_MIN;
for (; i <= CHAR_MAX; i++)
putchar(i);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment