听闻三爽的2560……分辨率以后,感慨万千# PDA - 掌中宝
h*g
1 楼
Why should you generally pass an object of the class to a friend function as
a reference parameter?
Choose one answer.
a. if the friend function changes the values of the data member(s)
b. if the friend function will not change the values of the data member(s)
c. It is more efficient to pass the object by reference.
d. A and B
e. A and C
我怎么觉得选c, 从来都是只pass reference吧
a reference parameter?
Choose one answer.
a. if the friend function changes the values of the data member(s)
b. if the friend function will not change the values of the data member(s)
c. It is more efficient to pass the object by reference.
d. A and B
e. A and C
我怎么觉得选c, 从来都是只pass reference吧