Re: [algogeeks] What is the Output?? and How??

2011-09-07 Thread nagarajan
please can u explain.. or copy the explained content??? On Wed, Sep 7, 2011 at 11:03 PM, sukran dhawan wrote: > its already been explained in previous thread > > On Wed, Sep 7, 2011 at 11:01 PM, NAGARAJAN SIVARAMAN > wrote: > >> #include >> #include >> #define prn(a) printf("%d ",a) >> #define p

Re: [algogeeks] What is the Output?? and How??

2011-09-07 Thread sukran dhawan
its already been explained in previous thread On Wed, Sep 7, 2011 at 11:01 PM, NAGARAJAN SIVARAMAN wrote: > #include > #include > #define prn(a) printf("%d ",a) > #define print(a,b,c) prn(a),prn(b),prn(c) > #define max(a,b) (a void main() > { > >int x=1,y=2; >clrscr(); >pri

[algogeeks] What is the Output?? and How??

2011-09-07 Thread NAGARAJAN SIVARAMAN
#include #include #define prn(a) printf("%d ",a) #define print(a,b,c) prn(a),prn(b),prn(c) #define max(a,b) (ahttp://groups.google.com/group/algogeeks?hl=en.

Re: [algogeeks] What is the output and how ???

2011-08-26 Thread Vijay Khandar
O\P= 1 2 1 3 1 2 1 is it correct? On Fri, Aug 26, 2011 at 12:23 PM, SAMMM wrote: > include > void fun(int); > typedef int (*pf) (int, int); > int proc(pf, int, int); > > int main() > { >int a=3; >fun(a); >return 0; > } > void fun(int n) > { >if(n > 0) >{ >fun(--n); >

[algogeeks] What is the output and how ???

2011-08-25 Thread SAMMM
include void fun(int); typedef int (*pf) (int, int); int proc(pf, int, int); int main() { int a=3; fun(a); return 0; } void fun(int n) { if(n > 0) { fun(--n); printf("%d,", n); fun(--n); } } -- You received this message because you are subscribed t