Program:
#include<stdio.h>
#include<conio.h>
void main()
{
int n;
clrscr();
printf("Enter any ASCII Value from 0 to 255 : ");
scanf("%d", &n);
printf("Character of Given ASCII Value is : %c", n);
getch();
}
Output:
Enter any ASCII Value from 0 to 255 : 65
Character of Given ASCII Value is : A
Previous Topic : To enter any Character and display it's ASCII Value
No comments:
Post a Comment