+ 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🙏
5 Respuestas
+ 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
+ 2
APWBD ..ok..ok.i understand... Sry my mistake.. thank you 😊👍
+ 1
Welcome
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
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