Friday, July 19, 2019

Find Ascii value in character

Ascii value in c:

find ascii value in chaaracter


#include<stdio.h>
#include<conio.h>
void main()
{
    char ch;
    clrscr();
    printf("Enter the character ");
    scanf("%c",&ch);

    printf("The Ascii value of %c is %d",ch,ch);
    getch();


Output: 



EmoticonEmoticon