Concept:
To print a to z alphabets we have to know the ascii value of a,z,A,Z.
From this we can print these values in the form of int to characters
Ascii value of
a=97
A=65
z=97+26
Z=65+26
Code:
//write a C program to prints all alphabet from a to z.
#include<conio.h>
#include<stdio.h>
void main()
{
int i;
clrscr();
for(i=97;i<=122;i++)
{
printf("%c ",i);
}
getch();
}
0 Comments
if you have any doubt, plz let me know