+ 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 Respostas
+ 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