C PROGRAM TO PRINT ALL ASCII VALUES

#include<stdio.h>

 

void main() {

   int i = 0;

   char ch;

 

   for (i = 0; i < 256; i++) {

      printf("%c ", ch);

      ch = ch + 1;

   }

}



No comments:

Post a Comment