12345
1234
123
12
1
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / prachi
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("%d", i);
}
printf("\n");
}
getch();
}
| Is This Answer Correct ? | 2 Yes | 3 No |
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
Is a house a mass structure?
Explain high-order and low-order bytes.
Can you please compare array with pointer?
What is void main () in c?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
2 Answers Aricent, Manipal University,
Which are low level languages?
what is c programing
What is the diffences between Windows XP and Windows Visa
What is the modulus operator?
Explain what is operator promotion?
Why do we use pointer to pointer in c?