I have a question about pointers. What do they enable passing VARIABLES to FUNCTIONS by (ex. value, reference)?
-------------------------------------------------------------------------------
I also have a code below that looks right, but is wrong (numbers are correct, but code doesn't work).
Is it that both "primes" and "composite" cannot both be assigned to int_ptr?Code:int *int_ptr; int primes[] = {2,3,5,7}; int composite[] = {4,6,8,9}; int_ptr = primes; composite = int_ptr;