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 |
Which header file is essential for using strcmp function?
how many key words availabel in c a) 28 b) 31 c) 32
What is the meaning of 2d in c?
How many bytes is a struct in c?
When should the const modifier be used?
How can I increase the allowable number of simultaneously open files?
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
What is the Difference between Class and Struct?
How can I read a directory in a C program?
2 Answers Bright Outdoor, Wipro,
What is string function c?
What is a const pointer, and how does it differ from a pointer to a const?
explain what is a newline escape sequence?