#include <iostream> using namespace std; int** p = new int*[]; int main() { for(int i = 0 ; i<3;i++) { for(int j = 0 ; j<3;j++) { p[i][j] = 1; } } // your code goes here return 0; }
Standard input is empty
prog.cpp:5:20: error: expected primary-expression before ‘]’ token int** p = new int*[]; ^
Standard output is empty