thefirstfbli
asked on
function prototype
..
int funcZ( int array[][], int k, int b,int c )
{
... .. .. ..
Funcb(array[x][], k, b);
Funcb(array[][x], k, c);
...
}
int Funcb(int arr[], int k, int d )
{
....
}
b is binary search, but according to my code, array[][]'s first []'s search then other []'s search.. so of course it can not be compiled, how to correct it..
int funcZ( int array[][], int k, int b,int c )
{
... .. .. ..
Funcb(array[x][], k, b);
Funcb(array[][x], k, c);
...
}
int Funcb(int arr[], int k, int d )
{
....
}
b is binary search, but according to my code, array[][]'s first []'s search then other []'s search.. so of course it can not be compiled, how to correct it..
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To handle array column, call Funcb with step = 9.