Write a c program to print character upon ascii value
#include<stdio.h>
#include<conio.h>
void main()
{
int ch;
clrscr();
printf("Enter the ASCII value: ");
scanf("%d",&ch);
printf("The ASCII value %d=%c",ch,ch);
getch();
}
Output:
Enter the ASCII value: 51
No comments: