C program to find ASCII value of given character

file - ascii.c

#include<stdio.h>
#include<conio.h>
void main() {
char ch;
clrscr();
printf("enter a character\n");
scanf ("%c",&ch);
printf("ascii value of %c=%d",ch,ch);
getch ();
}

Comments

Popular posts from this blog

C Language Topics in Hindi and English

C language IMP Questions for BSc/BA/BCom/BCA/BE/BTech/MSc/MCA (CS/IT) I year students