write a program whose output will be-
1
12
123
1234
Answer Posted / devi
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
for(i=1;i<=4;i++)
{
for(j=1;j<=i;j++)
{
printf("%d",j);
}
printf("\n");
}
getch();
}
| Is This Answer Correct ? | 51 Yes | 15 No |
Post New Answer View All Answers
how to construct a simulator keeping the logical boolean gates in c
using for loop sum 2 number of any 4 digit number in c language
What is void main ()?
Explain modulus operator.
Which driver is a pure java driver
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
What is main () in c language?
What is hashing in c language?
What is the difference between struct and typedef struct in c?
What does char * * argv mean in c?
Is array name a pointer?
What is derived datatype in c?
Should I learn data structures in c or python?
write a program to generate address labels using structures?
what is the different bitween abap and abap-hr?