You have a very old C++ compiler which is non-standard and riddled with bugs. Change it to something modern.
YOur code is not valid C++:
1) There is not header <iostream.h>. There is only <iostream>
2) void main() is illegal. Only int main() is allowed
3) line 12: i is undefined.
As for line 11: p is an array of pointers. You cannot assign anything to array. If you intended p to be pointer to array, you have to write (*p)[2]. However assigment would still fail as array dimensions do not match. (*p)[20] would work