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
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);
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
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)