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 write a code for reverse of string without using string functions?

2125


Explain the use of #pragma exit?

1163


What is an lvalue?

1052


What is #line?

1034


Explain what is a static function?

1087


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

1232


What is c language and why we use it?

1053


What is the time and space complexities of merge sort and when is it preferred over quick sort?

1061


if p is a string contained in a string?

1831


What are header files in c?

1055


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

1037


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1061


Tell me what are bitwise shift operators?

1121


Why does notstrcat(string, "!");Work?

1120


What is pivot in c?

1016