Re: [algogeeks] How to print numbers from 1 to 100 without loop , without recursion , without #define statements , without goto statement

2011-03-17 Thread D.N.Vishwakarma@IITR
*this is a dump solution * On Thu, Mar 17, 2011 at 12:05 AM, gmagog...@gmail.com gmagog...@gmail.comwrote: printf(1 2 3 4 5 6 7 8 9 10 11 12 13...); no loop, no recursion, no define, no goto. HAHA : ) On Wed, Mar 16, 2011 at 12:30 PM, Carl Barton

Re: [algogeeks] How to print numbers from 1 to 100 without loop , without recursion , without #define statements , without goto statement

2011-03-16 Thread kumar anurag
using two different functions calling one another ? like fun1() { fun2() } fun2() { fun1(); } On Wed, Mar 16, 2011 at 9:39 PM, D.N.Vishwakarma@IITR deok...@gmail.comwrote: * * -- *With Regards Deoki Nandan Vishwakarma IITR MCA Mathematics Department * -- You received this

Re: [algogeeks] How to print numbers from 1 to 100 without loop , without recursion , without #define statements , without goto statement

2011-03-16 Thread himanshu kansal
class arr {static int i; public: arr() { couti++; } }; int arr::i=1; int main() { arr a[100]; } On Wed, Mar 16, 2011 at 9:47 PM, kumar anurag anurag.it.jo...@gmail.comwrote: using two different functions calling one another ? like fun1() { fun2() } fun2() { fun1(); } On Wed,

[algogeeks] How to print numbers from 1 to 100 without loop , without recursion , without #define statements , without goto statement

2011-03-16 Thread D.N.Vishwakarma@IITR
* * -- *With Regards Deoki Nandan Vishwakarma IITR MCA Mathematics Department * -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to

Re: [algogeeks] How to print numbers from 1 to 100 without loop , without recursion , without #define statements , without goto statement

2011-03-16 Thread kumar anurag
ok guys... On Wed, Mar 16, 2011 at 9:54 PM, himanshu kansal himanshukansal...@gmail.com wrote: class arr {static int i; public: arr() { couti++; } }; int arr::i=1; int main() { arr a[100]; } On Wed, Mar 16, 2011 at 9:47 PM, kumar anurag anurag.it.jo...@gmail.comwrote:

Re: [algogeeks] How to print numbers from 1 to 100 without loop , without recursion , without #define statements , without goto statement

2011-03-16 Thread Carl Barton
@kumar Your example is still recursion On 16 March 2011 16:46, kumar anurag anurag.it.jo...@gmail.com wrote: ok guys... On Wed, Mar 16, 2011 at 9:54 PM, himanshu kansal himanshukansal...@gmail.com wrote: class arr {static int i; public: arr() { couti++; } }; int arr::i=1; int

Re: [algogeeks] How to print numbers from 1 to 100 without loop , without recursion , without #define statements , without goto statement

2011-03-16 Thread gmagog...@gmail.com
printf(1 2 3 4 5 6 7 8 9 10 11 12 13...); no loop, no recursion, no define, no goto. HAHA : ) On Wed, Mar 16, 2011 at 12:30 PM, Carl Barton odysseus.ulys...@gmail.comwrote: @kumar Your example is still recursion On 16 March 2011 16:46, kumar anurag anurag.it.jo...@gmail.com