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 variables in c?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
What is the c value paradox and how is it explained?
Is there a built-in function in C that can be used for sorting data?
Is flag a keyword in c?
List the variables are used for writing doubly linked list program.
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
What are the different properties of variable number of arguments?
Why pointers are used in c?
How can I write a function that takes a format string and a variable number of arguments?
Place the #include statement must be written in the program?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
How many main () function we can have in a project?
What is indirection?
What is the difference between exit() and _exit() function in c?