write a reverse string to print a stars.(with out using logic)
*****
****
***
**
*
Answer Posted / sandeep
#include<stdio.h>
#include<conio.h>
int main()
{
puts("
*****");
puts("
****");
puts("
***");
puts("
**");
puts("
*");
return 0;
}
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is a macro?
Why is c called a structured programming language?
Can we change the value of constant variable in c?
What is the code in while loop that returns the output of given code?
What are keywords in c with examples?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
Is main is user defined function?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
What is union in c?
Explain bit masking in c?
What is local and global variable in c?
What is a shell structure examples?
What does the error 'Null Pointer Assignment' mean and what causes this error?
What are static variables in c?
What is methods in c?