Jaspreet Singh 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
That's the best bit of news I've read all day. You probably wouldn't have liked working there anyway. You have your reasons for not naming names. Interviewing is a two-way street - you are determining if the company is where you want to work and they are determining if they want you to work there. A quirky dance of sorts. Questions like that should equal red flags. You have the guts to [indirectly] tell a large company they suck at hiring people (and they clearly do for asking such a ridiculous question). That's a big plus in my book. Not that I'm hiring anyone (I'm not). -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
