write a reverse string to print a stars.(with out using logic)
*****
****
***
**
*
Answer Posted / srikanth tupakula
#include<stdio.h>
int main()
{
int
printf("
*****");
printf("
****");
printf("
***");
printf("
**");
printf("
*");
return 0;
}
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
How do you construct an increment statement or decrement statement in C?
What are the features of the c language?
What is null in c?
which is an algorithm for sorting in a growing Lexicographic order
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
Simplify the program segment if X = B then C ← true else C ← false
Can you return null in c?
Which is better malloc or calloc?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
how do you programme Carrier Sense Multiple Access
Is it cc or c in a letter?
What is the full form of getch?
What do you mean by dynamic memory allocation in c?
Is python a c language?
What are structural members?