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)
*****
****
***
**
*

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a macro, and explain how do you use it?

1082


Can you please compare array with pointer?

1091


Whats s or c mean?

1028


What is the use of typedef in c?

1036


Can a pointer be volatile in c?

992


Why doesn't C support function overloading?

2776


What are register variables? What are the advantage of using register variables?

1191


What are volatile variables in c?

953


What are dangling pointers? How are dangling pointers different from memory leaks?

1320


What is wrong with this program statement? void = 10;

1258


What is static and volatile in c?

1226


Why is c so popular?

1164


What are the types of unary operators?

1191


Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

1159


What functions are used for dynamic memory allocation in c language?

1153