Tuesday, 4 November 2014

Program to Print All ASCII Values in C Programming Program :



CODE :


   
#include<stdio.h>

void main() {
   int i = 0;
   char ch;

   for (i = 0; i < 256; i++) {
      printf("%c ", ch);
      ch = ch + 1;
   }
}



OUTPUT :

e f g h i j k l m n o p q r s t u v w x y z { | } ~ ⌂ Ç ü é â ä à å
ç ê ë è ï î ì Ä

No comments:

Post a Comment