I was trying to pass addresses of 2 variables to a function, but compiler is giving me an error.
Anything wrong with the above code ?Code:add(&array1,&num2);
Error is :
cannot convert `int (*)[10]' to `int*' for argument `1' to `void add(int*, int*)'