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 / f.hnayan

#include<stdio.h>
#include<conio.h>
main()
{
int a,b;
for(a=0;a<=4;a++)
{
for(b=1;b<=(a+1);b++)
{
printf("%d\t",b);
}
printf("\n");
}

return 0;
}

Is This Answer Correct ?    11 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is best linux os?

1026


How can a program be made to print the line number where an error occurs?

1089


Can you tell me how to check whether a linked list is circular?

1412


What is double pointer in c?

1040


How can I do graphics in c?

1030


What is a loop?

1044


What is the stack in c?

1140


how do you programme Carrier Sense Multiple Access

1969


Explain how do you search data in a data file using random access method?

1134


What is the purpose of sprintf?

1133


Is there a way to switch on strings?

1085


In C language, a variable name cannot contain?

1276


What is meant by high-order and low-order bytes?

1050


What are the storage classes in C?

1159


What is openmp in c?

1024