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

Why can’t we compare structures?

1284


How can I change the size of the dynamically allocated array?

1156


What are the uses of null pointers?

1132


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

1223


What is the difference between memcpy and memmove?

1043


What is indirection?

1108


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1256


What's the total generic pointer type?

1061


Should I learn data structures in c or python?

1031


diff between exptected result and requirement?

2068


what do you mean by enumeration constant?

1017


Write a program for Overriding.

1165


What are identifiers c?

1099


What is const and volatile in c?

1054


What are local static variables?

1163