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
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?
Write a program to generate the Fibinocci Series
Is flag a keyword in c?
Difference between malloc() and calloc() function?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
What is #include stdio h and #include conio h?
What is auto keyword in c?
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
What are extern variables in c?
What is the difference between c and python?
code for find determinent of amatrix
What is difference between constant pointer and constant variable?
What are types of preprocessor in c?
what are the advantages of a macro over a function?
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