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

Why ca not I do something like this?

585


What math functions are available for integers? For floating point?

623


What are different types of pointers?

563


Explain bit masking in c?

635


Explain can static variables be declared in a header file?

678






How can I check whether a file exists? I want to warn the user if a requested input file is missing.

656


Do you know pointer in c?

589


Why c is called a middle level language?

634


What is quick sort in c?

581


What is the purpose of 'register' keyword?

690


in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

7404


number of times a digit is present in a number

1543


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2334


What is the use of sizeof?

554


what is the format specifier for printing a pointer value?

611