Answer Posted / 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 |
Post New Answer View All Answers
What is cohesion in c?
can any one provide me the notes of data structure for ignou cs-62 paper
What are the advantages and disadvantages of c language?
Is main is a keyword in c?
How many levels of indirection in pointers can you have in a single declaration?
What are the advantages and disadvantages of pointers?
What are enumerated types?
What do you mean by a sequential access file?
What are actual arguments?
What is function pointer c?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
How can I open files mentioned on the command line, and parse option flags?
What is a good way to implement complex numbers in c?
What is #include called?
Write a program to swap two numbers without using third variable in c?