PROGRAM: Write a C program to print all alphabet from a to z.
#include<stdio.h>
main()
{
int i;
for(i=97;i<=122;i++)
{
printf("%c\n",i);
main()
{
int i;
for(i=97;i<=122;i++)
{
printf("%c\n",i);
}
printf("\n");
printf("\n");
}
OUTPUT:-
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
0 Comments