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...

Can anyone help me with this please? Need to print the below
values.. Thanks

1
1 2
1 2 3
1 2 3 4

Answer Posted / mohit (firozabad, a.d.college)

#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 ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2581


what is a NULL Pointer? Whether it is same as an uninitialized pointer?

1216


Explain how do you determine the length of a string value that was stored in a variable?

1096


What does %p mean?

1037


Is printf a keyword?

1159


What is the purpose of scanf() and printf() functions?

1178


What tq means in chat?

1065


What is #line used for?

991


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

1059


What are the different types of data structures in c?

1114


Which header file is used for clrscr?

1001


In C language, a variable name cannot contain?

1225


What is structure in c explain with example?

1094


What is the default value of local and global variables in c?

986


Describe how arrays can be passed to a user defined function

1227