#include<iostream.h> #include<conio.h> main( ) { clrscr(); char array[5][8]={\'\\0\'}; cout<<\"\\n Enter the contents of the 2D array row by row are :\\n\"<<endl; for(int i=0;i<5;i++) cin>>*(array+i); clrscr(); cout<<\"\\n The content of the 2D array row by row are :\\n\"<<endl; for(int j=0;j<5;j++) cout<<\" array element [\"<<j<<\"] = \"<<*(array+j)<<endl; getch(); return 0; }