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

how can i make a program with this kind of output..

Enter a number: 5
0
01
012
0123
01234
012345
01234
0123
012
01
0

Answer Posted / vignesh1988i

A SMALL chnge in the above program... in first for loop 'n'
must be changed as 'm'

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

3171


Why c is called top down?

1219


Explain how can I right-justify a string?

1097


How do c compilers work?

1199


Explain can the sizeof operator be used to tell the size of an array passed to a function?

1117


What is the difference between break and continue?

1683


Write a C program in Fibonacci series.

1137


Is this program statement valid? INT = 10.50;

1231


Is it valid to address one element beyond the end of an array?

1227


Explain what is the difference between a string and an array?

1227


Write a c program to demonstrate character and string constants?

2247


Is null valid for pointers to functions?

1251


What functions are in conio h?

1265


Can you return null in c?

1229


When we use void main and int main?

1130