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 |
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
difference between c and c++?
Discuss similarities and differences of Multiprogramming OS and multiprocessing OS?
what does " calloc" do?
Can I initialize unions?
write a program to print %d ?
how can i make a program with this kind of output.. Enter a number: 5 0 01 012 0123 01234 012345 01234 0123 012 01 0
What does %c mean in c?
char ch=10;printf("%d",ch);what is the output
What is the general form of function in c?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
the question is that what you have been doing all these periods (one year gap)