Added chck_input to c_declare