.NET \ JAVA TUTORIAL
Pages
Home
Ebooks download
Interview Question
Web Application
Core Java
Sunday, 20 October 2013
Program to find ASCII value of Character in C
#include <stdio.h>
#include<conio.h>
void main()
{
char c;
printf("Enter a character: ");
scanf("%c",&c);
printf("ASCII value of %c = %d",c,c);
getch();
}
No comments :
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment