Why array is passed as a[][100] and not a[100][100] or a[100][]?
How are we going to call this function in main function to pass all the inputs?
Passing 2D Array as parameter of a function
@vishwassingh499
hello vishwas,
we cannot pass as a[100][] because it is a rule to pass either both row and column ,or column.
a[][100] ,a[100][100] both are correct
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.