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...

create a C program that displays one z,two y's,three x's
until twenty six A's.
plzz answer i need it tomorrow.

Answer Posted / satya

#include<conio.h>
main()
{ int i,j;
char *ptr="z";
clrscr();
for(i=1;i<=26;i++)
{
for(j=1;j<=i;j++)
{
printf("%s",ptr);
}
--(*ptr);
printf("\n");
}
getch();



}

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c is a high level language?

1259


how to find anagram without using string functions using only loops in c programming

3241


What’s the special use of UNIONS?

1209


Explain how can you tell whether two strings are the same?

1081


How to draw the flowchart for structure programs?

9397


What is indirection?

1152


The difference between printf and fprintf is ?

1346


Explain bit masking in c?

1193


What are the properties of union in c?

1112


Explain low-order bytes.

1100


What are valid operations on pointers?

1264


When is a void pointer used?

1316


How can I recover the file name given an open stream?

1084


Which header file should you include if you are to develop a function which can accept variable number of arguments?

1465


What are two dimensional arrays alternatively called as?

1247