can the size of 2d array mention in defination of the function be different from the size of 2d array used in calling statement
example:
func(a); //where a[20][100]
void func(int a[100][100]) //deination of function
{}
can the size of 2d array mention in defination of the function be different from the size of 2d array used in calling statement
example:
func(a); //where a[20][100]
void func(int a[100][100]) //deination of function
{}
hey @shiva57reddy, size array in called function (fun())needs to be greater than size of array in calling function(main()), because array present in called function should accommodate array coming from calling function.