How to pass 2D array to a function in C? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to pass 2D array to a function in C?

7th Jul 2021, 4:49 AM
Dilip Kumar Yadav
Dilip Kumar Yadav - avatar
2 Answers
+ 1
Thanks Martin
13th Jul 2021, 4:22 AM
Dilip Kumar Yadav
Dilip Kumar Yadav - avatar
0
You can just pass it as a normal array, mabey add some extra parameters like rows and cols to move through it easily
7th Jul 2021, 6:16 AM
Slick
Slick - avatar