diff --git a/02-Pointer/enter elements of 2D array/2d.cpp b/02-Pointer/enter elements of 2D array/2d.cpp
new file mode 100644
index 0000000..2ebc25f
--- /dev/null
+++ b/02-Pointer/enter elements of 2D array/2d.cpp	
@@ -0,0 +1,24 @@
+Following is the C program for pointers and two-dimensional array −
+
+#include<stdio.h>
+main ( ){
+   int a[3] [3], i,j;
+   int *p;
+   clrscr ( );
+   printf ("Enter elements of 2D array");
+   for (i=0; i<3; i++){
+      for (j=0; j<3; j++){
+         scanf ("%d", &a[i] [j]);
+      }
+   }
+   p = &a[0] [0];
+   printf ("elements of 2d array are");
+   for (i=0; i<3; i++){
+      for (j=0; j<3; j++){
+         printf ("%d \t", *(p+i*3+j));
+      }
+      printf ("
+");
+   }
+   getch ( );
+}