how can i get the output
54321
4321
321
21
1
in c programming........???? pls help......
Answer Posted / nagulmeera
#include<stdio.h>
#include<conio.h>
main()
{
for(int i=5;i<0;i--)
{
for(j=i;j!=0;j--)
{
printf("%d",j);
}
printf("\n");
}
getch();
}
| Is This Answer Correct ? | 5 Yes | 8 No |
Post New Answer View All Answers
Is c easy to learn?
define string ?
What is a struct c#?
What is the difference between local variable and global variable in c?
program to convert a integer to string in c language'
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
What is strcpy() function?
Can a variable be both const and volatile?
Explain is it valid to address one element beyond the end of an array?
Why is struct padding needed?
What is a void * in c?
What do you mean by Recursion Function?
What is your stream meaning?
Explain bit masking in c?
When is the “void” keyword used in a function?