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

progrem to generate the following series
1
12
123
1234
12345

Answer Posted / sachin

#include<stdio.h>
#include<conio.h>
void main()
{
int i,j,row;
clrscr();
printf("
How many rows
");
scanf("%d",&row);
for(i=1;i<=row;i++)
{
for(j=1;j<=i;j++)
{
printf("%d",j);
}
printf("
");
}
getch();
}

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain pointer. What are function pointers in C?

1076


Why do we need volatile in c?

1169


Explain function?

1090


Why is it that not all header files are declared in every C program?

1223


what is the significance of static storage class specifier?

2260


Explain what is the general form of a c program?

1097


what is the function of pragma directive in c?

1121


How to establish connection with oracle database software from c language?

2201


c language interview questions & answer

1958


Who invented bcpl language?

1195


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1831


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

1087


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

1284


What is a good data structure to use for storing lines of text?

1084


Which is better pointer or array?

1028