write a program whose output will be-
1
12
123
1234
Answer Posted / chaitali shinde
mian()
{
int i,j;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("1");
1++;
}
printf("\n");
}
getch();
}
| Is This Answer Correct ? | 8 Yes | 16 No |
Post New Answer View All Answers
How to Throw some light on the splay trees?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
Can we declare variables anywhere in c?
Can math operations be performed on a void pointer?
Why is c so important?
How do you sort filenames in a directory?
What is the stack in c?
Which is better malloc or calloc?
How can I list all of the predefined identifiers?
Is there any demerits of using pointer?
how is the examination pattern?
Explain what’s a signal? Explain what do I use signals for?
What is FIFO?
Which is better pointer or array?
What is use of bit field?