progrem to generate the following series
1
12
123
1234
12345
Answer Posted / srsabariselvan
int main()
{
int i,j;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("%d\t",j);
}
printf("\n");
}
return 0;
}
| Is This Answer Correct ? | 115 Yes | 27 No |
Post New Answer View All Answers
How do you list a file’s date and time?
What is header file in c?
What are shell structures used for?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
What does void main return?
What is memcpy() function?
Difference between goto, long jmp() and setjmp()?
What is integer constants?
What is clrscr in c?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?
What are the three constants used in c?
How do you do dynamic memory allocation in C applications?
How main function is called in c?
I need testPalindrome and removeSpace
#include