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


Please Help Members By Posting Answers For Below Questions

How do you construct an increment statement or decrement statement in C?

746


What are the features of the c language?

648


What is null in c?

600


which is an algorithm for sorting in a growing Lexicographic order

1398


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

1645






Simplify the program segment if X = B then C ← true else C ← false

2588


Can you return null in c?

597


Which is better malloc or calloc?

654


Which control loop is recommended if you have to execute set of statements for fixed number of times?

811


how do you programme Carrier Sense Multiple Access

1519


Is it cc or c in a letter?

568


What is the full form of getch?

585


What do you mean by dynamic memory allocation in c?

652


Is python a c language?

553


What are structural members?

574