Vidyarthiplus (V+) - Indian Students Online Education Forum

Full Version: C program For ASCII Value
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi , guys this post Contains Simple C-program For Getting ASCII Values of various numbers.

C Program For ASCII VALUE.


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

{
int t,k,n;

clrscr();
printf("Enter the password");

scanf("%d",&n);
while(n>0)

{
t=n%10;

t=t+1;
printf("%c\n",t);

//printf("%d\n",t);
n=n/10;

}
getch();

}



if who Don't Known This Known Here After.......