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 bit rate & baud rate? plz give wave forms
What is a macro in c preprocessor?
What is the right type to use for boolean values in c?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
What is pivot in c?
Is null a keyword in c?
What is meant by type specifiers?
Explain the use of keyword 'register' with respect to variables.
Can static variables be declared in a header file?
Define the scope of static variables.
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
What are types of preprocessor in c?
Why is c so powerful?
differentiate built-in functions and user – defined functions.
What is the difference between void main and main in c?