Contact: aviboots(AT)netvision.net.il
39,855 questions
51,776 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 */