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
What is the deal on sprintf_s return value?
What is scope rule in c?
Why c is known as a mother language?
What is the use of structure padding in c?
What is enumerated data type in c?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
Write a program to check prime number in c programming?
How many types of errors are there in c language? Explain
Create a simple code fragment that will swap the values of two variables num1 and num2.
What is stack in c?
Is r written in c?
Which is an example of a structural homology?
What is the purpose of 'register' keyword?
Explain how can I manipulate strings of multibyte characters?
How to implement a packet in C