Run »
#include
using namespace std; int main() { const int myNum = 15; myNum = 10; cout << myNum; return 0; }
In function 'int main()':
6.9: error: assignment of read-only variable 'myNum'