Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is clrscr in c?

0 Answers  


What do header files do?

0 Answers  


What are the storage classes in C?

0 Answers  


what is the difference between entry control and exit control statement?

12 Answers   Darbari Lal DAV Model School,


write a program fibonacci series and palindrome program in c

0 Answers   Aditi Placement Service,


What is sizeof return in c?

0 Answers  


Concat two string with most overlapped substring has to removeĀ  "abcd"+ "cdef" = "abcdef

6 Answers  


How many main () function we can have in a project?

0 Answers  


If I have a char * variable pointing to the name of a function ..

0 Answers  


What is c system32 taskhostw exe?

0 Answers  


How to avoid buffer overflow?

1 Answers  


Why static is used in c?

0 Answers  


Categories