首页 > 题库 > 学历提升 > 自学考试 > 自考本科 > 案例题

将下面程序补充完整,使程序输出的结果为167。#include using namespace std;class Integer{private:int n;public:Integer(int m):n(m) {} ;____(){-n; return*this;}//重载前缀“--”运算符void Show()const { cout int main(){____;--i;i.Show();return 0;}


参考答案: 查看答案 查看解析 下载APP畅快刷题

相关知识点试题

相关试卷