c program to print all ASCII characters with ASCII numbers | printing ascii characters by using C program

Spread the love
/************ Program ****************/

#include<stdio.h>
main()
{
    int i;
    for(i=0;i<=255;i++)
    {

    printf(“ASCII VALUE :%dt Ascii character :%cn “,i,i);

    if(i%11==0)
        getchar();
    }
}
/*************OUTPUT*****************/
Output of this program is not small one it will print 255 lines,. So i am using getchar() it will wait for my input for every 10 lines..

Note: This is not actual output, GIF of entire output.

Venkatesh Macha

Hi Guys, I am Venkatesh Macha. I am a programmer and an Open Source enthusiast, Presently working as a Software Engineer. Apart from that, I love to explore new technologies and things.

You may also like...

Leave a Reply