write a reverse string to print a stars.(with out using logic)
*****
****
***
**
*

Answers were Sorted based on User's Feedback



write a reverse string to print a stars.(with out using logic) ***** **** *** ** *..

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

write a reverse string to print a stars.(with out using logic) ***** **** *** ** *..

Answer / 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

More C Interview Questions

How do we make a global variable accessible across files? Explain the extern keyword?

0 Answers  


WHAT IS LOW LEVEL LANGUAGE?

2 Answers  


Write down the program to sort the array.

4 Answers   Impiger,


Write a c program to find, no of occurance of a given word in a file. The word is case sensitive.

2 Answers  


When should you not use a type cast?

0 Answers  






Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

0 Answers   CSC, Wipro,


Is c++ based on c?

0 Answers  


What is the difference between void main() and int main()?

1 Answers  


How will you declare an array of three function pointers where each function receives two ints and returns a float?

0 Answers   TISL,


which is the best site or book for learning C...and i need the content for C..how to get the good programming skills....? can plz suggest me....

2 Answers  


4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

5 Answers  


What are inbuilt functions in c?

0 Answers  


Categories