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 |
How do you prevent buffer overflows in C?
main() { int arr[5]={23,67}; printf("%d%d%d",arr[2],arr[3],arr[4]); }
Why do we use main function?
What are file streams?
Why enum is used in c?
Difference between pass by reference and pass by value?
How can you tell whether two strings are the same?
What does stand for?
write a program to remove occurrences the word from entered text?
What does 3 mean in texting?
main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }
What is C++