Question: Explain the next c code text #include #include void main() { int I, j, k, l; clrscr(); for(i=1;i =i;k--) { printf( ); } for(j=1;j>=1;j -
Explain the next c code text
#include
#include
void main()
{
int I, j, k, l;
clrscr();
for(i=1;i<=5;1++)
{
for(k=5;k>=i;k--)
{
printf(" ");
}
for(j=1;j>=1;j - -)
{
printf("%d",j);
}
for(l=2;l<=i;l++)
{
printf("%d", l);
}
printf(" ");
}
getch();
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
