Skip to content

Learn2Done

    • HOME
    • HTML
    • CSS
    • C
    • C++
    • C#
    • JAVA
    • SQL
    • AWS
    • INTERVIEW QUESTIONS
      • SQL INTERVIEW QUESTONS
    • PROGRAMS
      • Current Page Parent C PROGRAMS
      • C++ PROGRAMS
      • JAVA PROGRAMS
    • Data Science
    • Business Management
    • DevOps
    • Docker
    • Git

    Program in C to Find ASCII value of a Character

    #include <stdio.h>
    int main()
    {
        char ch;
        printf("Enter any character:");
    
        printf("ASCII value of character %c is: %d", ch, ch);
        return 0;
    }

    OUTPUT

    Enter any character:C
    ASCII value of character Q is: 67
    October 28, 2022 by Learn2Done C PROGRAMS
    • Next Program in C to Generate Multiplication Table
    • Previous C Program to check Leap Year

    Recent Posts

    • Git Reset to Specific Commit
    • Git Revert Commit & Local
    • Git Revert Commit
    • Git Remove Remote Repo
    • Git List Remote Repo
    • Git Reset to Specific Commit

    • Git Revert Commit & Local

    • Git Revert Commit

    • Git Remove Remote Repo

    Learn2Done © 2023 with ❤ by AlexTech Software Solutions