program to convert character to ASCII

program to convert character to ASCII

#include<stdio.h>
void main()
{
char c;
printf("Enter the charecter : ");
scanf("%c",&c);
printf("ASCII of a character is %d \n",c);
}

 out put:-
       

No comments:

hia friends you are seeing my blogger thank's. Powered by Blogger.