Pages

Monday, January 2, 2012

C Programming to display ASCII code of all 256 characters

/*To display all ASCII codes */
#include<stdio.h>
#include<stdlib.h>
int main()
{
    int i;
    printf("ASCII CODE\tCharacter");
    for (i=1;i<=256;i++)
    {
        printf("\n%d\t\t%c",i,i);
        continue;
    }
    system("pause");
    return 0;
}

3 comments:

  1. My relatives all the time say that I am killing my time here at web,
    but I know I am getting knowledge all the time by reading thes fastidious posts.



    My homepage best quotes ever

    ReplyDelete
  2. This website was... how do I say it? Relevant!
    ! Finally I've found something which helped me. Many thanks!

    Also visit my page :: leonardo da vinci quotes

    ReplyDelete
  3. Great site you have here.. It's difficult to find quality writing like yours nowadays. I honestly appreciate people like you! Take care!!

    my homepage: tired quotes

    ReplyDelete