题目详情
单选题 In the expression x + y * z, operator + is overloaded using a member function, and * is overloaded using a non-member function. Then, which of the following is correct
A. functions operator+( ) and operator*( ) contain two parameters
B. functions operator+( ) and operator*( ) contain two and one parameters, respectively
C. functions operator+( ) and operator*( ) contain one and two parameters, respectively
D. functions operator+( ) and operator*( ) contain one parameter

学科:C++语言程序设计
时间:2025-12-18 02:35:52
相关题目
相关作业
