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 are the 5 types of inheritance in c ++?
Linked lists -- can you tell me how to check whether a linked list is circular?
What is null pointer in c?
What are the 4 types of functions?
Write a program in c to replace any vowel in a string with z?
What is structure in c definition?
Write a program to swap two numbers without using a temporary variable?
How can you avoid including a header more than once?
How do you declare a variable that will hold string values?
Why n++ execute faster than n+1 ?
Is using exit() the same as using return?
Explain the use of #pragma exit?
Why enum is used in c?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
Why do we use stdio h and conio h?