2d Array Program in C

Two Dimensional Array in C

Here you will get simple 2d array program in c language. In which, you will learn that how to declare two dimensional array, input values in array, and print the values of array.

Example of 2d Array Program in C

Output

Enter elements in 2d array :3
2
5
4
7
11
8
77
34
arr[0] [0] = 3
arr[0] [1] = 2
arr[0] [2] = 5
arr[1] [0] = 4
arr[1] [1] = 7
arr[1] [2] = 11
arr[2] [0] = 8
arr[2] [1] = 77
arr[2] [2] = 34

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top