thanks Jaspreet...
actually u r right Jaspreet...there are some question in one of this 
for interview. actually I am doing prepration for my placement.so I 
needed to know about this otherwise no need to use at all.thanks one 
again.
one of my friend mention that if 1==1 would work ???????how
thanks
Jugal


--- In [email protected], "Jaspreet Singh" <[EMAIL PROTECTED]> 
wrote:
>
> On Sat, Oct 18, 2008 at 6:24 AM, Tyler Littlefield <[EMAIL PROTECTED]> 
wrote:
> > um. what condition?
> > if 1==1 would work, but why are you using an if statement.
> >
> > Thanks,
> > Tyler Littlefield
> > email: [EMAIL PROTECTED]
> > web: tysdomain-com
> > Visit for quality software and web design.
> > skype: st8amnd2005
> >
> > ----- Original Message -----
> > From: jugal_panchal
> > To: [email protected]
> > Sent: Friday, October 17, 2008 8:53 AM
> > Subject: [c-prog] what's the condition for Hello world....
> >
> > what is condition so we will get HelloWorld output in following 
code
> >
> > if "condition"
> > printf("Hello");
> > else
> > printf("World");
> 
> if (!(printf("Hello")))
>   printf("Hello");
> else
>   printf("World");
> 
> These kind of **weird/stupid** questions are sometimes asked in
> interviews here in India. Not sure what the interviewer wants to
> actually test here. Last time I was asked this question in an
> interview, I asked back to the interviewer for the purpose / 
objective
> of this question and he had no answer and not surprisingly I never 
got
> a call back from the company which btw is a top IT company famous 
all
> over the world.
> 
> Thanks!! and have a nice day!!
> Jaspreet
>


Reply via email to