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

Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

2099


What are multibyte characters?

1138


Write a program to show the change in position of a cursor using c

1075


Differentiate between #include<...> and #include '...'

1066


What is malloc return c?

1034


What's a good way to check for "close enough" floating-point equality?

1169


Can a local variable be volatile in c?

1000


What is the difference between malloc() and calloc() function in c language?

1087


what is uses of .net

1742


where are auto variables stored? What are the characteristics of an auto variable?

1076


Can we declare a function inside a function in c?

1046


What is %s and %d in c?

1047


Do you know the use of 'auto' keyword?

1204


shorting algorithmS

2262


What is the difference between call by value and call by reference in c?

1168