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 |
1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?
What is a function simple definition?
#include<stdio.h> void main() { int a=10,b=20,c=30; printf("%d",scanf("%d%d%d",&a,&b,&c)); } what is the output for this?
What is the difference between CV and Resume ?
control 50 devices which has 2 states on and off.using bitwise operator.plz answer it its urgent
Please provide question papers of NATIONAL INFORMATICS CENTRE for Scientific officer
What is c language and why we use it?
What does c mean before a date?
I have an array of 100 elements, each of which is a random integer. I want to know which of the elements: a) are multiples of 2 b) are multiples of 2 AND 5 c) have a remainder of 3 when divided by 7
what is difference between array of characters and string
What the different types of arrays in c?
What is structure packing ?