CPlusPlusThings/basic_content/const/funciton_const/condition3/condition1.cpp
Light-City 8edbbbc5a2 update
2019-11-05 16:56:07 +08:00

11 lines
132 B
C++

#include<iostream>
using namespace std;
int main(){
const int p = 3;
const int * const ptr = &p;
cout<<*ptr<<endl;
}