progrem to generate the following series
1
12
123
1234
12345
Answer Posted / shakil ahmed
#include<stdio.h>
#include<conio.h>
main()
{
int i, j;
for(i=1; i<=5; i++)
{
for(j=1; j<=i; j++)
{
printf("%d",j);
}
printf("\n");
}
}
| Is This Answer Correct ? | 65 Yes | 16 No |
Post New Answer View All Answers
What is fflush() function?
What is the difference between ‘g’ and “g” in C?
What are the similarities between c and c++?
Compare array data type to pointer data type
Are the outer parentheses in return statements really optional?
Is this program statement valid? INT = 10.50;
What is the usage of the pointer in c?
How do I round numbers?
What does do in c?
What is double pointer in c?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
Explain high-order bytes.
What is the use of static variable in c?
What is an identifier?
Can the “if” function be used in comparing strings?