Hi..
In my simple program, i want to accept array of numbers of any size and have to return its sum.
Whether i should accept that array in the defined function of sum which is:
Code:
void sum(int ar[], const int size)
or this accepting array should be in main??



~~>Please i'm new to c++