1、如果函数没有必要返回值就用void,如果函数需要返回值就用 int,float,double 等类,譬如说void test(){ printf("test");}就没有必要返回值了, 但如......