Code for Program to find ascii value of entered text or word for each character in C Programming
#include <stdio.h>
#include <conio.h>
void main()
{
char n[20];
int i=0;
clrscr();
printf("\n Enter The Name : ");
scanf("%s",n);
while(n[i]!='\0')
{
printf("%d ",n[i]);
i++;
}
getch();
}
/*
******
OUTPUT
******
Enter The Name : DHAVAL
68 72 65 86 65 76
*/