#include<stdio.h>
#include<conio.h>
int main()
{
char c;
printf("enter the character");
scanf("%c",&c);
printf("the ascii value of character %c is %d",c,c);
}
#include<conio.h>
int main()
{
char c;
printf("enter the character");
scanf("%c",&c);
printf("the ascii value of character %c is %d",c,c);
}
No comments:
Post a Comment