A reason for passing a pointer to a function is
A) to avoid the overhead of copying large data structures.
B) to allow the called function to modify a variable accessible to the calling function.
C) to allow easy access to data in the function that is being called.
D) A and B are both True.
E) None of the above
Correct Answer:
Verified
Q14: It is possible for a structure to
Q19: A function may return a pointer, but
Q31: When the _ is placed in front
Q38: To dereference a structure pointer and simultaneously
Q40: The _ and _ operators can respectively
Q41: If Circle is a structure type, the
Q44: Every byte in the computer's memory is
Q45: The statement Rectangle * boxPtr; defines a
Q46: A statement that displays the address of
Q47: A dangling pointer is a pointer
A) to
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents