Author |
Topic: What comes first? (Read 3107 times) |
|
navdeep1771
Newbie
Let your thoughts go beyond your imagination
Gender:
Posts: 28
|
|
What comes first?
« on: Nov 10th, 2016, 8:59pm » |
Quote Modify
|
Interviewer said "I shall either ask you ten easy questions or one really difficult question. Think well before you make up your mind!" The boy thought for a while and said, "my choice is one really difficult question." "Well, good luck to you, you have made your own choice! Now tell me this. "What comes first, Day or Night?" The boy was jolted into reality as his admission depends on the correctness of his answer, but he was quite smart and passed the interview. What do you think he must have said and what would be his explanation?
|
« Last Edit: Nov 11th, 2016, 7:06pm by navdeep1771 » |
IP Logged |
|
|
|
rloginunix
Uberpuzzler
Posts: 1029
|
|
Re: Day or Night?
« Reply #1 on: Nov 11th, 2016, 7:17am » |
Quote Modify
|
vi don.c #include <stdio.h> #include <string.h> extern int main( int argc, char* argv[] ) { const char* const Day = "Day"; const char* const Night = "Night"; printf( "%s %s %s\n", Day, strcmp( Day, Night ) < 0 ? "<" : ">", Night ); return 0; } gcc -g -o don don.c ./don Day < Night You are asking too many questions.
|
|
IP Logged |
|
|
|
rmsgrey
Uberpuzzler
Gender:
Posts: 2873
|
|
Re: Day or Night?
« Reply #2 on: Nov 11th, 2016, 12:34pm » |
Quote Modify
|
Yeah, the question as asked pretty clearly goes for rlogunix's answer. On the other hand, it skirts a more interesting question: which came first?
|
|
IP Logged |
|
|
|
navdeep1771
Newbie
Let your thoughts go beyond your imagination
Gender:
Posts: 28
|
|
Re: Day or Night?
« Reply #4 on: Nov 11th, 2016, 6:57pm » |
Quote Modify
|
No friends, the question is simple: What the boy must have said to the interviewer and why? @rloginunix:- what's all that coding used in your message? are you a bot or what? @towr: sorry you got the wrong answer.
|
« Last Edit: Nov 11th, 2016, 7:01pm by navdeep1771 » |
IP Logged |
|
|
|
navdeep1771
Newbie
Let your thoughts go beyond your imagination
Gender:
Posts: 28
|
|
Re: Day or Night?
« Reply #5 on: Nov 11th, 2016, 7:06pm » |
Quote Modify
|
[HINT]: The answer is tricky enough. So stop logically thinking that what comes first - Day or Night...try to understand the situation
|
|
IP Logged |
|
|
|
dudiobugtron
Uberpuzzler
Posts: 735
|
|
Re: What comes first?
« Reply #6 on: Nov 11th, 2016, 9:26pm » |
Quote Modify
|
Day comes first in a dictionary. I guess he was applying for a job as a sub-editor
|
|
IP Logged |
|
|
|
pex
Uberpuzzler
Gender:
Posts: 880
|
|
Re: What comes first?
« Reply #7 on: Nov 11th, 2016, 11:41pm » |
Quote Modify
|
The standard answer is that the candidate picks one of the two at random, the interviewer asks him to explain why, and the candidate refuses to answer because this is the second question. Which obviously makes no sense at all - would you hire him?
|
|
IP Logged |
|
|
|
rmsgrey
Uberpuzzler
Gender:
Posts: 2873
|
|
Re: What comes first?
« Reply #8 on: Nov 12th, 2016, 3:51am » |
Quote Modify
|
on Nov 11th, 2016, 11:41pm, pex wrote:Which obviously makes no sense at all - would you hire him? |
| For a job as a lawyer? Possibly. For a job as a sign-painter? Probably not. Also, possibly worth noting that the interviewer imposed an order on the words.
|
|
IP Logged |
|
|
|
|