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
Explain how can I avoid the abort, retry, fail messages?
What is calloc malloc realloc in c?
Explain what header files do I need in order to define the standard library functions I use?
What is the purpose of void in c?
Which header file is essential for using strcmp function?
What is void pointers in c?
What is extern c used for?
Where can I get an ansi-compatible lint?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
What is pass by reference in functions?
explain what is a newline escape sequence?
largest Of three Number using without if condition?
Why is c faster?
Can you please explain the difference between strcpy() and memcpy() function?