程序分析,给出运算结果.#include \x05class Sample\x05{\x05int x;public:\x05Sample(int a){ x = a; }friend double square(Sample & s);\x05};double square(Sample & s){ return s.x*s.x; }\x05void main()\x05{\x05Sample s1(20);\x05Sample s2(30);\x05c
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/25 22:53:47
x){mMy{]/Oxnݓ͛SSa`X\[
W̼
Ҥd+ D^$YP`hPVTP\XXQPi
[kSZ((OXBFtg(&fihUlad 1&baII*'}"xy AB.#pCnJ-IJX"0$_Zb_`g3R&[L(_\g
+ E