write a program that read an integer M and does the following:
1\ create to dynamic arrays of integer A and B of size M
2\ read the values of the to arrays A,B from keyboard
3\ add A,b and store the result in a dynamic matrix D and print the result
4\ delete all allocated memory
void main()
int m;
p1=new int [m];
p2=new int [m];
for (int i=0;i<m;i++)
for( int j=0;j<m;j++)
cin>>*(p1+i);
cin>>*(p2+j);
delete []p1;
p1='\0';
delete []p2;
p2='\0';
}
#include "iostream.h"
في النقطة 3 لم اعرف ماذا افعل بالضبط اتمنى المساعدة