f0314.cpp

来自「C++程序设计教程(第二版)源代码 钱能编著」· C++ 代码 · 共 16 行

CPP
16
字号
//=====================================
// f0314.cpp
//=====================================
#include<iostream>
using namespace std;
//-------------------------------------
int main(){
  int a = 78, c = 18;
  const int* ip = &a;
  const int* const icp = &c;
  a = 60;  c = 28;
  cout<<"ip =>"<<*ip<<endl;
  cout<<"icp=>"<<*icp<<endl;
}//====================================

 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?