Sunday, 13 September 2015

C PROGRAMMING-- ASCII CODES

#include<stdio.h>
#include<conio.h>
void main()
{       clrscr();

char a;
printf("enter the character=\n");
scanf("%c",&a);
printf(" ASCII CODE=%d",a);
getch();
}

No comments:

Post a Comment