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

What is the difference between char array and char pointer?

1074


What is the difference between near, far and huge pointers?

1107


Why do we write return 0 in c?

1084


What is meant by realloc()?

1171


What is bin sh c?

1052


What is the difference between array and structure in c?

1186


Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

2086


What the advantages of using Unions?

1244


Is Exception handling possible in c language?

2056


what is the basis for selection of arrays or pointers as data structure in a program

4324


What is an expression?

1069


What is openmp in c?

1031


For what purpose null pointer used?

1092


How can I make sure that my program is the only one accessing a file?

1296


What is indirection? How many levels of pointers can you have?

1164