Consider this function:
double find_distance (const stud &pnt_1,
const stud &pnt_2);
stud is a defined structure.
What is the point of calling pnt_1 and pnt_2 by reference if 'const' is included at the begginning, making the value remain constant? I mean, when we call by reference, its only to change the variable being called, right?
Hope my question makes sense :lol: