Yeah, I have
print_array(parray)
and
void print_array(int **array)
Type: Posts; User: jFran
Yeah, I have
print_array(parray)
and
void print_array(int **array)
Yeah, I figured passing a *parray was incorrect.
But when I have it there, it works, and sorts all the random numbers in order.
When i remove it, it will print out random addresses
Code that generates 25 random numbers.
An [iarray] is set to each number.
Another array, [parray] is set to the address of the [iarray]
My only issue is when it prints out the new sorted digits,...
Cool, Thanks:)
Can you pass a 2 dimensional array?
Ex:
int multiply(int A[][], int B[][], int C[][]);
Sorry if this is a really noobie question. (:
First couple of weeks in coding, just trying to learn.
Anyways, my question was, I have a code that I need to put into functions.
What am I suppose...