How can we use 2-d array in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
28th Apr 2021, 12:25 PM
soni singh
soni singh - avatar
7 Answers
+ 3
You still have to declare it like you do with a one dimensional array.
28th Apr 2021, 12:50 PM
Arsenic
Arsenic - avatar
+ 2
But int arr[n][m]; It is doesn't work
28th Apr 2021, 12:56 PM
soni singh
soni singh - avatar
0
Syntax please
28th Apr 2021, 2:20 PM
soni singh
soni singh - avatar
0
Okay thanks guys 😊😊
28th Apr 2021, 4:06 PM
soni singh
soni singh - avatar
0
Int arr[n][m]; It's working in c++ 🤩🤩🤩
29th Apr 2021, 10:08 AM
soni singh
soni singh - avatar
29th Apr 2021, 4:19 PM
soni singh
soni singh - avatar
0
See this.
29th Apr 2021, 4:20 PM
soni singh
soni singh - avatar