A simple C Code to test functions