Contact: aviboots(AT)netvision.net.il
41,301 questions
53,811 answers
573 users
#include <iostream> int main() { const int n = 948; const int *p = &n; //*p = 20; // error: assignment of read-only location ā* pā std::cout << n << "\n"; std::cout << *p << "\n"; } /* run: 948 948 */