+ 3

Code that let's the user create a multidimensional array in C?

How do you make a code that asks the user to input the number of rows and columns in an array, ask them to input the elements, and print the array?

13th Jun 2019, 8:25 PM
Deng Luka
4 odpowiedzi
+ 2
You could do something like this: https://code.sololearn.com/cd3dcH0q6OEk/#c
13th Jun 2019, 10:21 PM
Cluck'n'Coder
Cluck'n'Coder - avatar
+ 2
language?
13th Jun 2019, 8:29 PM
Cat Sauce
Cat Sauce - avatar
+ 2
Oh My bad... The language is C
13th Jun 2019, 8:31 PM
Deng Luka
+ 2
in c: int multidim[5][5][5][5]; (a 4 dimensioal array)
13th Jun 2019, 9:28 PM
daniel
daniel - avatar