Hello-
I haven't been able to find a good example to help with this:
How would I apply the isprint function to this so that it prints a space character for every non-printable ASCII character? Thank you so much in advance!!!
#include <ctype.h>
#include <stdio.h>
Code:void ascii (void) { int counter; char binarystring[9]; for (counter = 0; counter< 128; counter++) { printf( " %4c %12i %10X %8o %s\n", counter, counter, counter, counter, charAsBinary(counter, binarystring)); } }