12344321
123 321
12 21
1 1 how i print this program??
Answer Posted / sunitha
for(i=1;i<=5;i++)
{
for(j=1;j<=i;i++)
{
for(k=1;k<=j;k++)
printf("%d",k);
k--;
printf("%d",k);
}
}
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is wild pointer in c?
Explain 'far' and 'near' pointers in c.
How can I read data from data files with particular formats?
What will the preprocessor do for a program?
List a few unconditional control statement in c.
If null and 0 are equivalent as null pointer constants, which should I use?
What's a good way to check for "close enough" floating-point equality?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
List the difference between a 'copy constructor' and a 'assignment operator' in C?
What are logical errors and how does it differ from syntax errors?
What does void main return?
What is a good data structure to use for storing lines of text?
Explain what is wrong in this statement?
What is break in c?