Another Pascal / C problem