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 write a code for reverse of string without using string functions?
Explain the use of #pragma exit?
What is an lvalue?
What is #line?
Explain what is a static function?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
What is c language and why we use it?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
if p is a string contained in a string?
What are header files in c?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
Tell me what are bitwise shift operators?
Why does notstrcat(string, "!");Work?
What is pivot in c?