printf() prints on the standard output (console).
scanf() reads from the standard output (console).
What exactly are you after?
Printing all the characters from the ASCII table:
for (int i = 0; i < 256; i++)
printf("%c", i);
Reading any character (to be exact reading a character string):
char buffer[256];
scanf("%s", buffer);
printf("String read: %s\n", buffer);