Re: [algogeeks] Quantz

2011-08-11 Thread Ashwini Singh
1kg --1 2kg --1 3kg --2 4kg --1 On Thu, Aug 11, 2011 at 11:13 AM, Mani Bharathi manibharat...@gmail.comwrote: how? -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To view this discussion on the web visit

[algogeeks] please explain

2011-06-30 Thread ashwini singh
this code gives an error ([Warning] passing arg 1 of `maxdiff' makes integer from pointer without a cast) . Please explain the reasons. #includestdio.h #includeconio.h int maxdiff(int ); main() { int p,arr[]={2,4,1,6,23,4}; p=maxdiff(arr); printf(\n MAX Diff is \t %d,p);

Re: [algogeeks] please explain

2011-06-30 Thread ashwini singh
still it's not working On Thu, Jun 30, 2011 at 4:42 PM, Rujin Cao drizzle...@gmail.com wrote: int maxdiff(int ); int maxdiff(int arr[]); The signatures of maxdiff function are not the same. On Fri, Jul 1, 2011 at 6:53 AM, ashwini singh asingh...@gmail.com wrote: this code gives

[algogeeks] Explain the o/p

2011-06-29 Thread ashwini singh
please ex-plain the o/p of each line o/p is 2 23 2 0 3 2 2 2 23 2 3 #includestdio.h #includeconio.h main() { int i; i=printf(%d %d,2,2) printf(%d %d ,3,2); printf(\n%d,i); printf(\n%d\n,3,4); printf(%d %d ,2,2); printf(\n%d,printf(%d %d,2,2)