Skip to content

Commit 0e2567e

Browse files
Update arrays.c
1 parent f0aebe0 commit 0e2567e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrays.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ int main(void)
2727
char arr8[2][2];
2828
arr8[0][0] = 'a';
2929

30-
char *arr9=(char*)malloc(5*sizeof(char));//allocating space for a 2d array
30+
char *arr9=(char*)malloc(5*sizeof(char));//allocating space for a 1d array
3131

3232

3333

0 commit comments

Comments
 (0)