test problem in C