题目详情
单选题 Suppose r is an object with class type R, in order to perform 4 + r, the R class header file must contain
A. int operator( )
B. R(int n)
C. friend R operator+(int r1, const R& r2)
D. R operator+(const R& r1)
E. friend R operator+(const R& r2, int r1)

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