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
List the difference between a 'copy constructor' and a 'assignment operator' in C?
What is multidimensional arrays
What are the different data types in C?
How do you determine whether to use a stream function or a low-level function?
What is the right way to use errno?
What is printf () in c?
What is floating point constants?
What is advantage of pointer in c?
What is data types?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
How can I read/write structures from/to data files?
Simplify the program segment if X = B then C ← true else C ← false
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
Explain why c is faster than c++?
Is it possible to execute code even after the program exits the main() function?