Funny interview question
-
Hi guys Today we were interviewing some candidates for some programmer jobs. My boss suggested a few interview questions to us and one of them was this :- Write a valid C program that would not comopile under C++ Hmmmm, now what kinda question is that? Would it be a proper test of a candidate? As for me I was confused for a while till I thought of type safety in C++. I haven't tried it out but I presume that if we do some unsafe type casting it'll be valid in C but invalid in C++. What do ya guys think? Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
Michael Martin wrote: ...and if you wondering it's 1 months tomorrow. 11 rather :-( Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
Nishant S wrote: 11 rather :( Yep, but us poor unemployed types can't just be giving away repetitive numbers when we type now can we? :-D Michael Martin Australia mjm68@tpg.com.au "I personally love it because I can get as down and dirty as I want on the backend, while also being able to dabble with fun scripting and presentation games on the front end." - Chris Maunder 15/07/2002
-
I agree it is a really stupid question, BUT if someone can answer it on the spot , you've got a winner !! IMO, the *main* thing to check in an interview is attitude. BTW: How about this ?
file a.c -------- // This trivial program has no statements // C cant deal with '//' style comments
Vivek Rajan wrote: // This trivial program has no statements // C cant deal with '//' style comments C99 can.
-
Nishant S wrote: 11 rather :( Yep, but us poor unemployed types can't just be giving away repetitive numbers when we type now can we? :-D Michael Martin Australia mjm68@tpg.com.au "I personally love it because I can get as down and dirty as I want on the backend, while also being able to dabble with fun scripting and presentation games on the front end." - Chris Maunder 15/07/2002
Michael Martin wrote: Yep, but us poor unemployed types can't just be giving away repetitive numbers when we type now can we? :rolleyes: Regards, Brian Dela :suss:
-
If his/her/its member ID is under 100 then he/she/it must be a genius then! ;P
Eddie Velasquez wrote: If his/her/its member ID is under 100 then he/she/it must be a genius then! Agreed. And under 50 is super genius. Regardz Colin J Davies
Sonork ID 100.9197:Colin
You are the intrepid one, always willing to leap into the fray! A serious character flaw, I might add, but entertaining. Said by Roger Wright about me.
-
Eddie Velasquez wrote: If his/her/its member ID is under 100 then he/she/it must be a genius then! Agreed. And under 50 is super genius. Regardz Colin J Davies
Sonork ID 100.9197:Colin
You are the intrepid one, always willing to leap into the fray! A serious character flaw, I might add, but entertaining. Said by Roger Wright about me.
Colin^Davies wrote: under 50 is super genius Haha, and what's your member ID number? ;) -- Paul "I need the secure packaging of Jockeys. My boys need a house!" - Kramer, in "The Chinese Woman" episode of Seinfeld MS Messenger: paul@oobaloo.co.uk Sonork: 100.22446
-
Eddie Velasquez wrote: If his/her/its member ID is under 100 then he/she/it must be a genius then! Agreed. And under 50 is super genius. Regardz Colin J Davies
Sonork ID 100.9197:Colin
You are the intrepid one, always willing to leap into the fray! A serious character flaw, I might add, but entertaining. Said by Roger Wright about me.
Colin^Davies wrote: And under 50 is super genius So... you're barely a super genius? ;)
-
Colin^Davies wrote: And under 50 is super genius So... you're barely a super genius? ;)
Eddie Velasquez wrote: So... you're barely a super genius? I guess so. :-) Regardz Colin J Davies
Sonork ID 100.9197:Colin
You are the intrepid one, always willing to leap into the fray! A serious character flaw, I might add, but entertaining. Said by Roger Wright about me.
-
You should rather ask him whether he knows CodeProject.com. If he/she doesn't, I would recommend NOT taking him. If he answers "YES of course", ask him whether he is a member, and only take him if his member ID is less than 50000. -- Scanned MSDN Mag ad with YOUR name: www.magerquark.de/misc/CodeProject.html See me: www.magerquark.de
Uwe Keim wrote: If he answers "YES of course", ask him whether he is a member, and only take him if his member ID is less than 50000. He might end up hiring the name which should not be spoken. Nish could become the CodeProject King! Todd Smith
-
Vivek Rajan wrote: // This trivial program has no statements // C cant deal with '//' style comments C99 can.
Eddie Velasquez wrote: C99 can. I was gonna say. Most modern C compilers will accept either style comments now. VC++ does. Todd Smith