Article View: comp.lang.c.moderated
Article #2142Re: Good C Interview questions?
From: Graham Perks
Date: Fri, 01 Mar 1996 16:05
Date: Fri, 01 Mar 1996 16:05
17 lines
1328 bytes
1328 bytes
Here's a couple of good C related questions for an interviewer to ask, I
think (OK for phone interviews too):
1. Can you explain what a makefile is used for?
2. Tell me about the three parts of a for statement that control the loop.
(You may need to elaborate on the question a little.)
3. What is different between a signed int and an unsigned int?
Personally, I like the previous question about
char *x = "abcd" + 1;
I'd save it for a candidate who's shown a degree of competence. I'd also ask
if they consider it an example of good programming style.
Cheers, Graham Perks. GDPerks@aol.com (OS/2 & Win32 programmer.)
I do not speak for any company I might or might not work for!
Technical Details
Message-ID:
<4h777c$5d6@solutions.solon.com>Path:
arc1-ca.pugleaf.net!solon.com!not-for-mailReferences:
<4ec3vg$lst@solutions.solon.com> <4emato$3rd@solutions.solon.com> <4fjk21$ntn@solutions.solon.com> <4fst9j$2ja@solutions.solon.com> <4gfcvu$2qr@solutions.solon.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail From: graham_perks_at_bmc-austin@banana.bmc.com (Graham Perks) Newsgroups: comp.lang.c.moderated Subject: Re: Good C Interview questions? Date: 1 Mar 1996 10:05:00 -0600 Organization: BMC Software Sender: clc@solutions.solon.com Approved: clc@solutions.solon.com Message-ID: <4h777c$5d6@solutions.solon.com> References: <4ec3vg$lst@solutions.solon.com> <4emato$3rd@solutions.solon.com> <4fjk21$ntn@solutions.solon.com> <4fst9j$2ja@solutions.solon.com> <4gfcvu$2qr@solutions.solon.com> NNTP-Posting-Host: solutions.solon.com X-Newsreader: News Xpress Version 1.0 Beta #4