以下哪项是函数声明的正确格式?
return-type function-name(argument type);
return-type function-name(argument type) {}
return-type (argument type)function-name;
以下哪项是函数声明的正确格式?
return-type function-name(argument type);
return-type function-name(argument type) {}
return-type (argument type)function-name;