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
What is malloc return c?
In C programming, what command or code can be used to determine if a number of odd or even?
What is the purpose of sprintf() function?
How can I open files mentioned on the command line, and parse option flags?
What is pointers in c with example?
Describe the modifier in c?
What is d scanf?
what is the format specifier for printing a pointer value?
What does 3 mean in texting?
What is else if ladder?
Difference between Shallow copy and Deep copy?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
Lists the benefits of c programming language?
What is array of structure in c?
write a program to find out prime number using sieve case?