how can i get the output
54321
4321
321
21
1
in c programming........???? pls help......
Answer Posted / jayaraj.s
#include<stdio.h>
main()
{
int a,b;
for(a=5;a!=0;a--)
{
for(b=a;b!=0;b--)
{
printf("%d",b);
}
printf("\n");
}
getch();
}
| Is This Answer Correct ? | 87 Yes | 16 No |
Post New Answer View All Answers
How to throw some light on the b tree?
Difference between Shallow copy and Deep copy?
How can a program be made to print the name of a source file where an error occurs?
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?
How can I dynamically allocate arrays?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
Distinguish between actual and formal arguments.
In a header file whether functions are declared or defined?
What is difference between && and & in c?
Explain the Difference between the New and Malloc keyword.
What are the differences between Structures and Arrays?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
about c language
How do we print only part of a string in c?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)