Thursday 23 January 2014

Filled Under:

/* WAP to find the ASCII value of given character */

/* WAP to find the ASCII value of given character */

#include<stdio.h>
#include<conio.h>
void main()
{
    char ch;

    printf("Enter a character:");
    scanf("%c",&ch);

    printf("The ASCII value of %c is %d",ch,ch);

    getch();
}

0 comments:

Post a Comment