Write a C Program to Only ASCII values

Delve into C programming as you explore the fascinating realm of ASCII values. This program focuses on extracting and comprehending ASCII values, providing valuable insights into character encoding and reinforcing your proficiency in C coding.

Only ASCII values

#include <stdio.h>
int main() {
int i;
char ch;
for(i=0;i<256;i++)
{
printf("%c",ch);
ch=ch+1;
}
return 0;
}
Output:

¬ !"#$%&'()*+,-./0123456789:;<=>?@

ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`

abcdefghijklmnopqrstuvwxyz{|}~

ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪ

º¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐

└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀

αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■
Scroll to Top