Have a Read!

Hi Everyone.
The idea for this page is to provide new c users simple c tutorials to learn how to develop the logic and more importantly correct way to write syntax.
ENJOY !!!

Thursday, January 27, 2011

C PROGRAM FOR GETTING ASCII CODE way2

#include<stdio.h>
int main()
{
int z;
printf("ENTER THE CHARACTER\n");
z=getchar();
printf("THE ASCII VALUE OF CHARACTER is %d\n",z);
return 0;
}

No comments:

Post a Comment

Related Posts with Thumbnails