1. Explain with a suitable example how a function can return multiple values using arguments and the return statement. In what circumstances could one still need the return statement?
2. If the pointer p points to the array arr, explain how pointer arithmetic works better with p than with arr.
3. How can two pointers be swapped using a function? Why can’t the standard technique of using two pointers as arguments work here?
4. Explain how the use of const differs between the declaration of a variable in main and a parameter of a function.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here