Practical

C program to know the ASCII value of any character.

#include<stdio.h>
main()
{

char ch;

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

printf("\n The ascii value is=%d",ch);

}

No comments:

Post a Comment