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

Java Final keyword

Introduction : java final keyword The final keyword present in Java programming language is generally used for restricting the user. …

Read more

C++ Memory Management: new and delete

C++ Memory Management We know that arrays store contiguous and the same type of memory blocks, so memory is allocated …

Read more