Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions exercise4.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//documentation section
/* Exercise 4 - 2D array */
/* Exercise 3 - 2D array */

//pre-processor section
#include<stdio.h>
Expand All @@ -9,11 +9,19 @@

//main function section
int main(){

//write here your program

int theValue[3][3] = {{10,100,20},{50,20,40},{40,40,10}};

scanf(" %d", theValue[2][3]);

printf("Value from Row 2 and Column 3 is %d", theValue[1][2]);



return 0;
}


//user-defined section
//user-defined section