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

Write code for finding depth of tree

2 Answers   Adobe,


What is a global variable in c?

0 Answers  


What are bitwise shift operators in c programming?

0 Answers  


What is the difference between constant pointer and constant variable?

0 Answers   NIIT,


What is external variable in c?

0 Answers  


Differentiate between null and void pointers.

0 Answers   TCS,


The statement, int(*x[]) () what does in indicate?

0 Answers  


main() { int a; a=++100; printf("%d",a); getch(); }

4 Answers  


What are the rules for the identifier?

0 Answers  


How do you sort filenames in a directory?

0 Answers  


How do you search data in a data file using random access method?

0 Answers  


Toggle nth bit in a given integer - num

5 Answers   Qualcomm,


Categories