i have just given the idea not a function code.
an idea without using the if, loop and ternary operator.
if 0 and 1 output you are taking as problem.
So remember your first lesson of computer.
this machine runs on just these two logical states 0 and 1.
i dont want to debate just to give an idea for solution.




________________________________
From: John <[email protected]>
To: [email protected]
Sent: Mon, December 28, 2009 11:38:24 PM
Subject: [c-prog] Re: Getting Biggest number of two.

  
--- In c-p...@yahoogroups. com, Arvind Balodia <arvind.balodia@ ...> wrote:
>
> boolean myfunc(int a,int b)
> return a>b;

But that just returns 0 or 1. The OP wants a function to return the biggest of 
2 arguments.


 


      

[Non-text portions of this message have been removed]

Reply via email to