Skip to content

Instantly share code, notes, and snippets.

@hktechn0
Created December 13, 2009 18:32
Show Gist options
  • Save hktechn0/255553 to your computer and use it in GitHub Desktop.
Save hktechn0/255553 to your computer and use it in GitHub Desktop.
print all printable ascii chars
#include <stdio.h>
int main(void)
{
int i;
for(i = 0x20; i < 0x7f; i++) {
printf("%c", i);
}
printf("\n");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment