C Programming Tutorial

 
 
 
 

Image

#include <stdio.h>
#include <conio.h>
void main(){
     char ch;
     clrscr();
     printf(\"*****Ascii value of Character entered*****\\n\\n\");
     printf(\"Enter any char : \");
     scanf(\"%c\",&ch);
     printf(\"\\nAscii value of %c is %d\",ch,ch);
     getch();
}

 
 
Didn't find what you were looking for? Find more on Program to print ASCII value of inputted character