j

Tuesday, 3 November 2015

Write a program that take character from user and display it ASCII



#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
char a;
int b;
printf("Enter any character ::");
scanf("%c",&a);
b=a;
printf("The ASCII code is %d",b) ;
getch();
}

Subscribe to this Blog via Email :