c_mistake, a C code which illustrates some simple but devious programming mistakes in C.
Note that because of the miserable random number interface in C, it's possible to not compute the sum of 100 random numbers in many interesting ways!
The information on this web page is distributed under the MIT license.
c_mistake is available in a C version and a Fortran90 version and an HTML version and a MATLAB version and a Python version.