Saturday, April 4, 2020

ASCII programming example in c

ASCII Value Of Character  With example for c program

 This Article From Learn c programming in Hindi Will help you to learn ASCII Value Of Character With example for c program and check out "selection sort program in c", "socket programming in c", "merge sort program in c","Kruskal's algorithm in c", "for loop c programming", "c struct example","simple program in c language", "simple CPP program", "c programming practice questions", "c program using for loop", "programming using c", "hello world program in c", "if statement in c ".

नीचे किसी भी इनपुट चरित्र के ASCII मूल्य को खोजने के लिए एक कार्यक्रम है।

% c Character को इनपुट के रूप में लेने का प्रारूप है

Programming example in c


#include

int main()
{
    printf("\n\n\t\tStudytonight - Best place to learn\n\n\n");

    char c;
    printf("Enter a character : ");
    scanf("%c" , &c);
    printf("\n\nASCII value of %c = %d",c,c);

    printf("\n\n\t\t\tCoding is Fun !\n\n\n");
    return 0;
}

OUTPUT

 

0 Comments:

Post a Comment