It has been observed by a number of researches that although it is well-known that all continuous functions defined on C-compact spaces are closed functions, this property does not characterize C-compact spaces. In this note we employ the notion of strongly subclosed relations to prove that a space is C-compact if and only if all functions on it with strongly subclosed inverses are closed functions.