AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080128152853.204397ea@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<ian.brown@onstor.com>,<brian.deforest@onstor.com>,<amit.bothra@onstor.com>,<jonathan.goldick@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	9466D7F3-81BB-420F-B34B-A931124EE55B@onstor.com
X-Sylpheed-End-Special-Headers: 1
Date: Mon, 28 Jan 2008 15:29:19 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: Ian Brown <ian.brown@onstor.com>
Cc: "Brian DeForest" <brian.deforest@onstor.com>, "Amit Bothra"
 <amit.bothra@onstor.com>, "Jonathan Goldick" <jonathan.goldick@onstor.com>
Subject: Re: Jan Seidel programming problem
Message-ID: <20080128152919.6fbc60d9@ripper.onstor.net>
In-Reply-To: <9466D7F3-81BB-420F-B34B-A931124EE55B@onstor.com>
References: <BB375AF679D4A34E9CA8DFA650E2B04E07FB4FC9@onstor-exch02.onstor.net>
	<27D77517-3763-475E-91B6-74EC7C84D03D@onstor.com>
	<BB375AF679D4A34E9CA8DFA650E2B04E07FB5004@onstor-exch02.onstor.net>
	<9466D7F3-81BB-420F-B34B-A931124EE55B@onstor.com>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Mon, 28 Jan 2008 15:18:50 -0800 Ian Brown <ian.brown@onstor.com>
wrote:

> here's what I'll ask him:
> 
> 1) why does this crash:
> 
> #include <stdio.h>
> int main ()
> {
>      char *x;
>      printf("Shall we proceed [y/n]: ");
>      scanf("%s", x);
>      printf("\nThe answer was:%s\n", x);
> }
> 
> 2) what is a typedef used for?

If his answer to this one is "making trouble" then hire him.

> 3) what are function pointers useful for?
> 
> 
> sound good?
> 
> 
> Ian
> 
> 
> On Jan 28, 2008, at 2:55 PM, Brian DeForest wrote:
> 
> Sounds good.   The goal is not to stump him, but to give him
> something solvable to verify he has good C programming skills.
> 
> From: Ian Brown [mailto:ian.brown@onstor.com]
> Sent: Monday, January 28, 2008 2:46 PM
> To: Brian DeForest
> Cc: Amit Bothra; Andy Sharp; Jonathan Goldick
> Subject: Re: Jan Seidel programming problem
> 
> I can.
> 
> On Jan 28, 2008, at 2:33 PM, Brian DeForest wrote:
> 
> One of us should give Jan an opportunity to write C code.  Should be  
> solvable in a few minutes and involve pointers.
> 
> Probably not a good use of Jonathan's time.
> 
> Bring a pad of paper since there are no white boards.
> 
> Volunteers?
> 
> Brian
> 
> 
> 
