各类函数以及其调用方法 1. 无参数无返回值 void test01() { cout << "Hello test01" <<endl; } //调用方法 test01(); 2. 有参数无返回值 void test02(