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 scope rule in c?
What is Memory leakage ?
What are the advantage of c language?
main() { int a=0; if(a=0) printf("Ramco Systems\n"); printf("India\n"); } output?
Can you please explain the difference between malloc() and calloc() function?
How we can insert comments in a c program?
When is a null pointer used?
What is the use of function overloading in C?
How variables are declared in c?
What is the size of enum in bytes?
Explain how does flowchart help in writing a program?
int j =15,i; for (i=1; 1<5; ++i) {printf ("%d%d ",j,i); j = j-3; }