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 program whose output will be-
1
12
123
1234

Answer Posted / chaitali shinde

mian()
{
int i,j;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("1");
1++;
}
printf("\n");
}
getch();
}

Is This Answer Correct ?    8 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Throw some light on the splay trees?

1066


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1301


Can we declare variables anywhere in c?

1002


Can math operations be performed on a void pointer?

1053


Why is c so important?

1065


How do you sort filenames in a directory?

1185


What is the stack in c?

1156


Which is better malloc or calloc?

1105


How can I list all of the predefined identifiers?

986


Is there any demerits of using pointer?

1075


how is the examination pattern?

2022


Explain what’s a signal? Explain what do I use signals for?

1165


What is FIFO?

1728


Which is better pointer or array?

1029


What is use of bit field?

1304