Professional Documents
Culture Documents
#include<iostream>
using namespace std;
int main()
{
int m,n;
int a[size][size] ERROR;
cout<<”enter the number of rows”<<endl;
cin>>m;
cout<<”enter the number of columns”<<endl;
cin>>n;
#include<iostream>
using namespace std; ERROR
const int max ERROR = 5;
int main()
{
int arr[MAX ERROR] = {10,20,30,40,50}
int *ptr[MAX ERROR];
CORRECT CODES
OUTPUT: