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 |
Is malloc memset faster than calloc?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is NULL pointer?
what is level of tree if leaf node is at level 4.please explain.
how do you programme Carrier Sense Multiple Access
What is atoi and atof in c?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
What does char * * argv mean in c?
What is a loop?
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
how to generate the length of a string without using len funtion?
IS it possible to define a zero sized array in c.if it is possible how can the elements of that array can be accessed.array index starts from zero,if it is possible to define zero sized array how can be its first element can be accesseed.