1: #include<stdio.h> 2: #include<conio.h> 3: void main() 4: { 5: int e; 6: char ch; 7: clrscr(); 8: printf(“\n Enter a character : “); 9: scanf(“%c”,&ch); 10: e=ch; 11: printf(“\n The ASCII value of the character is : %d”,e); 12: getch(); 13: }