12345
1234
123
12
1

Answer Posted / malik

#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
for(i=5;i>=0;i--)
{
for(j=1;j<=i;j++)
{
printf("%d", j);
}
printf("\n");
}

getch();
}

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why doesnt the call scanf work?

675


What are near, far and huge pointers?

648


Why do we use static in c?

634


Explain main function in c?

629


What is the purpose of main( ) in c language?

623






pierrot's divisor program using c or c++ code

1732


What are the types of pointers?

602


What is use of pointer?

587


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

625


Write a program to print all permutations of a given string.

644


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

612


How do you determine whether to use a stream function or a low-level function?

649


Compare and contrast compilers from interpreters.

684


What are the keywords in c?

643


What is a dynamic array in c?

597