题海让大学四年没有难题
白天模式登陆

题目详情

单选题 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++语言程序设计课程封面

学科:C++语言程序设计

时间:2025-12-18 02:35:52

Copyright © 2022 津ICP备2021001502号