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
What is the correct code to have following output in c using nested for loop?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
What do you mean by a local block?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
Explain the use of #pragma exit?
What is scanf () in c?
Explain how do you print an address?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
In C language what is a 'dangling pointer'?
What are loops c?
What would be an example of a structure analogous to structure c?
Which is an example of a structural homology?
What are the different data types in C?
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
Do you know pointer in c?