float a, double b; data typemismatch though it was same precision value.. c-language doenot support u d cohersion i.e.auto converion of datatypes.. so statement works like that only..
--- On Sun, 9/8/09, Uday Oberio <[email protected]> wrote: From: Uday Oberio <[email protected]> Subject: Re: [c-prog] Re: plz solve To: [email protected] Date: Sunday, 9 August, 2009, 6:44 PM [mod-- What do _you_ think, and why? --mod pn.] hello hi i just want to know why it is printf how are u ? id the value of both is same... can u tell me the reason please... thank you.. with regards --- On Sat, 8/8/09, priyabrata_06 <priyabrata_06@ yahoo.co. in> wrote: From: priyabrata_06 <priyabrata_06@ yahoo.co. in> Subject: [c-prog] Re: plz solve To: c-p...@yahoogroups. com Date: Saturday, 8 August, 2009, 10:43 AM --- In c-p...@yahoogroups. com, "rajanchatterjee@ ..." <rajanchatterjee@ ....> wrote: > > > > float a=1.1; > > double b=1.1; > > if(a==b) > > printf("hello" ); > > else > > printf("how are u "); > > I am new one in c++. > so please tell me it's answer. > I am eagerly waiting for your reply. > thankx > the answer will be... printf("how are u "); Yahoo! recommends that you upgrade to the new and safer Internet Explorer 8. http://downloads. yahoo.com/ in/internetexplo rer/ [Non-text portions of this message have been removed] Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com [Non-text portions of this message have been removed]
