write a reverse string to print a stars.(with out using logic)
*****
****
***
**
*
Answers were Sorted based on User's Feedback
Answer / sandeep
#include<stdio.h>
#include<conio.h>
int main()
{
puts("
*****");
puts("
****");
puts("
***");
puts("
**");
puts("
*");
return 0;
}
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / srikanth tupakula
#include<stdio.h>
int main()
{
int
printf("
*****");
printf("
****");
printf("
***");
printf("
**");
printf("
*");
return 0;
}
| Is This Answer Correct ? | 0 Yes | 3 No |
What is clrscr in c?
What do header files do?
What are the storage classes in C?
what is the difference between entry control and exit control statement?
12 Answers Darbari Lal DAV Model School,
write a program fibonacci series and palindrome program in c
0 Answers Aditi Placement Service,
What is sizeof return in c?
Concat two string with most overlapped substring has to removeĀ "abcd"+ "cdef" = "abcdef
How many main () function we can have in a project?
If I have a char * variable pointing to the name of a function ..
What is c system32 taskhostw exe?
How to avoid buffer overflow?
Why static is used in c?