mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-02-03 18:43:52 +08:00
11 lines
132 B
C++
11 lines
132 B
C++
#include<iostream>
|
|
using namespace std;
|
|
|
|
int main(){
|
|
|
|
const int p = 3;
|
|
const int * const ptr = &p;
|
|
cout<<*ptr<<endl;
|
|
|
|
}
|