hi, i've a class and there is an array set as private, how do i make the get_array() function i mean how do i return that array knowing that i will have to return a pointer of arr[0] as we know , but isn't this breaking the private rule ? is there other way of returning array ?
I actually thought of having array2 in the main , then edit that array using the class function. i think it will be a plan B if the above didn't work.