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