Hi limingth,
Instead of having one c.file with function declarations and implementations, and your main function, I would like to declare your functions in a separate .h file and document each one, then include them in your .c file that contains their implementations. Furthermore, I want to have a separate .c file for testing the functions.
Please let me know your thoughts.