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

What are header files in c programming?

787


What does p mean in physics?

738


Explain how do you print an address?

838


Write a program to check armstrong number in c?

806


Explain how can you avoid including a header more than once?

750






Dont ansi function prototypes render lint obsolete?

747


Why is this loop always executing once?

746


What is getche() function?

754


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

1642


What is the usage of the pointer in c?

764


Explain about C function prototype?

752


Explain how does flowchart help in writing a program?

803


State the difference between x3 and x[3].

789


Is that possible to store 32768 in an int data type variable?

842


Is it better to use a macro or a function?

807