0_0_14880219_7929.cpp: In function 'int main()': 0_0_14880219_7929.cpp:22:17: error: expected initializer before 'scanf' scanf("%d",&x);a[i][j]=x; ^ 0_0_14880219_7929.cpp:22:40: error: 'x' was not declared in this scope scanf("%d",&x);a[i][j]=x; ^