General Deductions:

10 pts: executable segfaults or bus errors 1 or more times
10 pts: error checking
10 pts: modularity / function decomposition
10 pts: no makefile is submitted with the lab/makefile doesn't work
10 pts: extra junk is submitted with the lab
5 pts: block level commenting
5 pts: function headers

100 pts: source code does not compile
100 pts: lab compiles, but does nothing