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 / devi

#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
for(i=1;i<=4;i++)
{
for(j=1;j<=i;j++)
{
printf("%d",j);
}
printf("\n");
}
getch();
}

Is This Answer Correct ?    51 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to construct a simulator keeping the logical boolean gates in c

2245


using for loop sum 2 number of any 4 digit number in c language

2319


What is void main ()?

1061


Explain modulus operator.

1032


Which driver is a pure java driver

1580


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

1129


What is main () in c language?

1118


What is hashing in c language?

1286


What is the difference between struct and typedef struct in c?

1114


What does char * * argv mean in c?

1044


Is array name a pointer?

1022


What is derived datatype in c?

1072


Should I learn data structures in c or python?

1006


write a program to generate address labels using structures?

4561


what is the different bitween abap and abap-hr?

2300