Search & Find out

Thursday, December 3, 2009

ASCII value to a character


#include "stdio.h"
#include "conio.h"
void main()

{
  int n;
  clrscr();

  printf("Enter a ASCII value to get the character \n\n");
  scanf("%d",&n);

  printf("\nThe ASCII value for the charcter %d is %c",n,n);

    getch();
 }



Download the executable (.exe)  file for this program..
download

0 comments:

Post a Comment

 

My Blog List

Term of Use