Home » Tutorials » C programming » c program to print all 255 ASCII Values using loop

c program to print all 255 ASCII Values using loop

#include <stdio.h>
int main()
{
 int i;
 printf("ASCII table & its equivalent values with numbering: \n");
 for(i=1; i<=255; i++)
 printf("\nValue: %d -> ASCII character: %c",i,i);
 getch();
 return 0;
}

About Rajeel

I'm Rajeel, a teen blogger from India who loves computers, sports, internet and all other kind of tech stuffs. This blog thing is one of my favourite hobby and the one that eats up much of my time. But Really, I'm loving it :) Find me in G+

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Scroll To Top