Tech Study

How To Print Ascii Values Of All Character In C Program

Introduction

Write C program to print ASCII values of all characters.

#include <stdio.h>

int main()
{
    int i;

    // Printing ASCII values from 0 to 255
    for(i=0; i<=255; i++)
    {
        printf("ASCII value of %c = %d\n", i, i);
    }

    return 0;
}

Result

Write C program to print ASCII values of all characters.
Write C program to print ASCII values of all characters.

C Program to Print Day Name of Week

Write a C program to print all natural numbers in reverse order

TaggedWrite C program to print ASCII values of all characters

Python Examples

Introduction: Python Examples are the basic programming concepts of python like python syntax,python data types,,python operators,python if else,python comments etc.. …

Read more

C String Functions

C String Functions perform certain operations, It provides many useful string functions which can come into action. The <string.h> header …

Read more