#include <iostream>
int main() {
int a = 123;
const int* const p = &a;
std::cout << *p << ' ' << a << '\n';
//*p = 99; // error: assignment of read-only location ā*(const int*)pā
int b = 905;
// p = &b; // error: assignment of read-only variable āpā
}
/*
run:
123 123
*/