20120113

Program in C to demonstrate 2-D array

//========================
//Program in C to demonstrate 2-D array
//========================
#include<stdio.h>
int main()
{
int arr[4][2]={ {00,01},{10,11},{20,21},{30,31} };
int i=0;
for(i=0;i<4;i++)
printf("\n %3d%3d",arr[i][0], arr[i][1]);
return 0;
}

1 comment:

  1. Program in C to demonstrate 2-D array Program in C to demonstrate 2-D array Program in C to demonstrate 2-D array Program in C to demonstrate 2-D array Program in C to demonstrate 2-D array Program in C to demonstrate 2-D array Program in C to demonstrate 2-D array Program in C to demonstrate 2-D array Program in C to demonstrate 2-D array Program in C to demonstrate 2-D array

    ReplyDelete