Candidate Screening Challenges (Was: Crazy idea from a recruiter)
djmuhlestein at gmail.com
Thu Mar 28 16:43:19 MDT 2013
On 3/28/13 1:50 PM, Nicholas Leippe wrote:
> On Thu, Mar 28, 2013 at 12:40 PM, Sasha Pachev<sasha-cdsC3/u4GK9Wk0Htik3J/w at public.gmane.org> wrote:
Does installing a signal handler disqualify?
void sigfpe(int sig)
Floating point exception: 8
>> can you make the following C code print "Hello, world" on a
>> reasonable Unix platform by adding some actual code before it:
>> a = b/0;
> printf("%s", "Hello, world!");
> a = b/0;
> prints it, but still causes a floating point exception. Did you
> specify this must be avoided? Deleting the div by zero line seems the
> better solution. :)
> I did notice the 1 bit difference between 43 and 11, but forgot you
> could declare specifically sized bit fields in C. I'm a bit rusty.
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
More information about the PLUG