ASCII codes using for loop

Write a program to print all ASCII codes using a for loop.

#include


#include

void main(void)

{

clrscr();

int n;

for(n=0;n<=255;n++)

printf("%c = %d\n",n,n);

getch();

}

Comments

Popular posts from this blog

Tip of the Day # 13

Governor Generals of Pakistan

Tip of the Day# 12