14. Program to Find ASCII Value of a Character


Comments

  1. //Program for conveting characters into ASCII values
    #include
    #include
    void main()
    {
    char c;

    clrscr();
    printf("Enter a character to be converted to ASCII values=\t");
    scanf("%c",&c);
    printf("ASCII value of %c = %d",c,c);
    getch();
    }

    ReplyDelete

Post a Comment