If the above syntax is used it returns the address of the variable.
d) return(*p);
The above statement returns the value of the variable through the pointer.
e) retum(sqrt(r));
If such a format is used, when control reaches to the return statement, control again passes to
function sqrt (). The return statement collects the result obtained from sqrt () function and
returns it to the calling function. Here the return statement calls the function sqrt ().
f)retum(float(square(2.8);
All functions return default integer value. To force the function to return ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.