TO DISPLAY ITS ASCII VALUE


#include<stdio.h>
#include<conio.h>
void main()
{
char ch;
printf("Enter a charecter");
scanf("%c",&ch);
printf("Next Charecter = %c Previoud charecter = %c",ch-1,ch+1);
}

0 comments: (+add yours?)

Post a Comment