/*Write a c program to print a character for a given ASCII code */ #include <stdio.h> #include <stdlib.h> int main() { int n; printf("Enter the ASCII value :\n"); scanf("%d",&n); printf("The character corresponding for ASCII value %d is %c \n",n,n); return 0; }
Enter the ASCII value : 85 The character corresponding for ASCII value 85 is U
No comments:
Post a Comment