![Quote](images/metro/blue/misc/quote_icon.png)
Originally Posted by
lestat1116
void get_inputs(int*);
void copy_reverse(int*, int*);
void print_array(int*);
dba x and y man unta ibutang dha sa astris? pwede di astris gamiton?
these are actually just function declarations telling the compiler beforehand that these function accepts integer pointers(like array of integers). so the asterisk is needed. in the function definition however, you must put the actual variable to be used so you can use the parameters inside the function, as in the case of void get_inputs(int x[]).