Saturday 5 October 2013

Print all ASCII values using C

#include<stdio.h>
main()
{
int i=0;
char ch;
for(i=0;i<256;i++)
  {
    printf("%c ",ch);
    ch = ch + 1;
  }
}

No comments:

Post a Comment