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

Which header file is essential for using strcmp function?

0 Answers  


how many key words availabel in c a) 28 b) 31 c) 32

0 Answers  


What is the meaning of 2d in c?

0 Answers  


How many bytes is a struct in c?

0 Answers  


When should the const modifier be used?

0 Answers  


How can I increase the allowable number of simultaneously open files?

1 Answers   CSC,


a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

0 Answers  


What is the Difference between Class and Struct?

10 Answers   Motorola,


How can I read a directory in a C program?

2 Answers   Bright Outdoor, Wipro,


What is string function c?

0 Answers  


What is a const pointer, and how does it differ from a pointer to a const?

2 Answers  


explain what is a newline escape sequence?

0 Answers  


Categories