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

Top High-Paying Tech Skills to Learn in 2025

Advanced C Programming Language IMP Questions for BSc/BA/BCom/BCA/BE/BTech/MSc/MCA (CS/IT) Students