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 bit rate & baud rate? plz give wave forms

2028


What is a macro in c preprocessor?

1152


What is the right type to use for boolean values in c?

1085


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

1132


What is pivot in c?

1078


Is null a keyword in c?

1251


What is meant by type specifiers?

1186


Explain the use of keyword 'register' with respect to variables.

1098


Can static variables be declared in a header file?

1100


Define the scope of static variables.

1198


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

3123


What are types of preprocessor in c?

1113


Why is c so powerful?

1163


differentiate built-in functions and user – defined functions.

1148


What is the difference between void main and main in c?

1208