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


Please Help Members By Posting Answers For Below Questions

An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

882


Write a program to generate the Fibinocci Series

841


Is flag a keyword in c?

861


Difference between malloc() and calloc() function?

840


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

835






What is #include stdio h and #include conio h?

740


What is auto keyword in c?

934


any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above

873


What are extern variables in c?

707


What is the difference between c and python?

768


code for find determinent of amatrix

1702


What is difference between constant pointer and constant variable?

873


What are types of preprocessor in c?

788


what are the advantages of a macro over a function?

828


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

1624