Skip to content
Snippets Groups Projects
Commit 5f4b656d authored by Mohamed Yasar arafath K M's avatar Mohamed Yasar arafath K M :speech_balloon:
Browse files

2 Dimension array with static initiation

parent 626cf078
No related branches found
No related tags found
No related merge requests found
#include<stdio.h>
int main(){
int arr[2][2] = {{12,78},{19,44}};
int i,j;
printf("Value of the 2 dimension array\n");
for(i=0;i<2;i++)
{
for(j=0;j<2;j++)
{
printf("%d\t",arr[i][j]);
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment