#include <iostream> using namespace std; int main() { // your code goes here int const** arr; arr = const_cast<int const**>(new int*[1]); arr[0] = new int[1]; arr[0][0] = 0; return 0; }
Standard input is empty
prog.cpp: In function 'int main()': prog.cpp:11: error: assignment of read-only location '*(* arr)'
Standard output is empty