frequently asked C and C++ interview questions along with their answers

frequently asked C and C++ interview questions along with their answers

Post by JKop » Mon, 19 Jul 2004 03:43:10


Julie posted:


perfectly legal
job. If you
interview?
definition
behaviour.
In
language lawyer.
"int*".
white
the
of
here?"
requirement.

Q: What's wrong here?

A: Un-allocated memory is accessed and written to.


Is that the kind of answer you're looking for?

(And to which requirement to you refer?)

-JKop
 
 
 

frequently asked C and C++ interview questions along with their answers

Post by Gary Labow » Mon, 19 Jul 2004 04:12:24


want

Answer to osmium:

Oh, but you are wrong. Answering that question, in a job interview for a
programmer, whould mark you as a fool. It is a foolish, quibbling answer. As
a manager, I wouldn't want an employee who couldn't speak "in the
vernacular" and had to be given an iron-clad contractual specification for
everything wanted. That, of course, is absurd. No job for you, unless I
really want a headache.
[Before it becomes a flame war, notice I am not calling you a fool. That
answer, in that situation is foolish. I'm sure, based on previous posts
here, that you are no fool, but perhaps too "clever" for me.]

is

And, yes, you answer what was meant. As I learned many years ago:

Don't tell me all about your indigestion.
"How are you?" is a greeting, not a question.
--
Gary

 
 
 

frequently asked C and C++ interview questions along with their answers

Post by Walte » Mon, 19 Jul 2004 05:32:57


It's hard to see a candidate being offered the job after trying that tactic.
 
 
 

frequently asked C and C++ interview questions along with their answers

Post by David Harm » Tue, 20 Jul 2004 04:16:35

On Sat, 17 Jul 2004 11:30:17 -0700 in comp.lang.c++, Julie
< XXXX@XXXXX.COM > wrote,

Ah, so you are a requirements lawyer.

There are many answers to the question and even several correct answers.
Which answer you give tells the interviewer what kind of thinker you
are.

My answer is given in
http://www.yqcomputer.com/ %40news.west.earthlink.net