I took a look at the paper. Given two hours, it didn't seem overly difficult. Question four may have been the only challenging one, remembering the syntax of fgets/fscanf, etc., but then again, you could've always searched them in the unix manual ;)
CSE are quite lenient. For example, if you...