+ 4

How to call and define 3D array in function..?

https://code.sololearn.com/cwBHOuj23EPk/?ref=app Pls solve my error 🙏🙏 Solve and give me right code🙏

29th Jan 2021, 5:18 AM
Janvi Desai
5 ответов
+ 2
Thank you APWBD but why is giving two time output? This way, Programm definitely give output. But this way⬇️ janvi rushita krishna janvi rushita krishna Mahima parthvi But I want only one time output and that is ⬇️ janvi rushita krishna Mahima parthvi
29th Jan 2021, 8:02 AM
Janvi Desai
+ 2
APWBD ..ok..ok.i understand... Sry my mistake.. thank you 😊👍
29th Jan 2021, 8:16 AM
Janvi Desai
+ 1
Welcome
29th Jan 2021, 8:17 AM
Murali Hemanth
Murali Hemanth - avatar
0
Compare your function definition with this⬇️ void printfunction(char ch[][10000][20],int t,int n[]) ch should be a 3d array and multidimensional array must have bounds in all dimensions except the first
29th Jan 2021, 7:19 AM
Murali Hemanth
Murali Hemanth - avatar
0
Janvi Desai printfunction call is within a for loop . So the first time it is called , it prints janvi rushita krishna And the second time it is called it Prints janvi rushita krishna Mahima parthvi
29th Jan 2021, 8:12 AM
Murali Hemanth
Murali Hemanth - avatar