Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Re: Quiz for C experts
From: Benjamin Franksen <benjamin.franksen@helmholtz-berlin.de>
To: <tech-talk@aps.anl.gov>
Date: Mon, 4 Jun 2012 19:26:02 +0200
Am Montag, 4. Juni 2012, 17:00:41 schrieb Andrew Johnson:
> http://blog.regehr.org/archives/721
>
> The above links to a great quiz for anyone who thinks they are a guru-level
> C developer (I only got partial credit for several of the questions, and
> I've been reading this guy's blog for quite a while).  When you reach the
> end of the quiz though, clicking the "show results" button will actually
> discard your answers and put up all the right answers — if you want to
> know your total score it will be shown near that button /before/ you click
> it.

Thanks Andrew, that was a nice one. Shows how hard it is to write correct
programs in C. I thought I knew all the rules inside out, but I still made 3
mistakes, and for some of the questions I had to guess, especially the ones
about shifting int values (though I guessed right, mostly).

Cheers
Ben

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de


References:
Quiz for C experts Andrew Johnson

Navigate by Date:
Prev: Re: Quiz for C experts Paul Nord
Next: counter of clients for specific PV in IOC Yingbing Yan
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: Quiz for C experts Paul Nord
Next: counter of clients for specific PV in IOC Yingbing Yan
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·