MSK Technologies

Home
Practice Programs
Java Programs Python Programs Java Quiz
Pages
Python Java Material PLSQL Material
Search A Job

Write a C-program to print ASCII values of Numbers?

  1. Home
  2. C Language Programs

Write a C-program to print ASCII values of Numbers?

Write a C-program to print ASCII values of Numbers


#include <stdio.h>
int main() {
    char ch;
    for(ch='0';ch<='9';ch++)
    {
         printf("\n %c = %d",ch,(int)ch);
    }
    return 0;
}

Output:


0 = 48
1 = 49
2 = 50
3 = 51
4 = 52
5 = 53
6 = 54
7 = 55
8 = 56
9 = 57




More Programs


57 . Write a C-program to print ASCII values of Numbers
58 . Write a C-program to print 1 to 10 values using while loop
59 . Write a C-program to print 10 to 1 values using while loop
60 . Write a C-program to print 1 to n values using while loop
61 . Write a C-program to print even numbers using while loop
62 . Write a C-program to print even number or odd number based on the n value using while loop
63 . Write a C-program to print even number or odd number based on the n value using single while loop
64 . Write a C-program to count the number of divisible numbers in a given range(1-100) using while loop
65 . Write a C-program to print factorial number using while loop
66 . Write a C-program to print factorial of n numbers using while loop
67 . Write a C-program to print sum of natural numbers using while loop



Apply For The Job

Apply For Job

Java Material

Python Material

PLSQL Material

.Net Material

Java Practice Programs

400 Java Programs

Java Practice Programs

Write a java Program to print N prime numbers and find sum and average

Write a Java program to print the sum, multiply, subtract, divide and remainder of two numbers

Write a java Program to Print given number in words

Write a Java program to display the system time

Write a Java program to compute the sum of the first 100 prime numbers

Python Practice Programs

Write a python program to display list of numbers and we want to return all the numbers from the list that are divisible by 2 and remove duplicates at the same time.

Write a python program to Find the index of the largest number in the list

How do you confirm if an object is iterable using code?

Write a Python program to test whether a passed letter is a vowel or not.

Write a Python program to count number of digits in an integer

Java Quiz

Java Quiz - 20

Java Quiz - 13

Java Quiz - 7

Java Quiz - 21

Java Quiz - 2

Courses
Java Python PLSQL .Net ADO.Net About Us
Quick Links
Daily Use English Sentences Daily General Knowledge General Knowledge Latest Update Inventions and Inventors జనరల్ నాలెడ్జ్ General Knowledge Spoken English Spoken Hindi GK Hindi Telugu Facts Unknown Facts Psychology Facts Motivation Quotes విటమిన్ - సి,డి,ఇ,కె Android
Spiritual
రాధాకృష్ణ భగవద్గీత Motivation Quotes Slokas Talapatra Nidhi ఆధ్యాత్మిక భక్తి ప్రపంచం Sadhguru Sai Motivation Quotes గౌతమ బుద్ధుడు Bhagavad Gita Quotes
Newsletter

Dolor amet sit justo amet elitr clita ipsum elitr est.

© sateeshm, All Right Reserved. Designed By sateeshm
Home Help FQAs