How can i declare a function with ' 2 dimensional char' array in c.?? I am trying like this : void structural (char [] []); | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can i declare a function with ' 2 dimensional char' array in c.?? I am trying like this : void structural (char [] []);

5th Jun 2020, 9:43 AM
WaYR🇧🇩
WaYR🇧🇩 - avatar
3 Answers
+ 2
Why downvote Eliya Ben Baruch He gives good advice
5th Jun 2020, 9:58 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
void structural(char[10][5]) you need to give in the array size you can omit the first but not the last void structural(char [][5])
5th Jun 2020, 1:33 PM
✳AsterisK✳
✳AsterisK✳ - avatar
0
Give the parameter a name
5th Jun 2020, 9:47 AM
Eliya Ben Baruch
Eliya Ben Baruch - avatar