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


D) A and B are both true.

Computer Science & Information Technology

You might also like to view...

What key sequence does ^C indicate to the user?

a. Ctrl+C or Command+C b. c c. C d. Caps Lock + C

Computer Science & Information Technology

Each cell in a cellular network is a geographic area centered on a(n) ________ station, which is a large communications tower

Fill in the blank(s) with correct word

Computer Science & Information Technology

The ________ provides quick access to common formatting features such as font size, boldface and text alignment

Fill in the blank(s) with correct word

Computer Science & Information Technology

The ___ class retrieves the locale used for localizing text.

A. ChoiceCallback B. AuthorizeCallback C. LanguageCallback D. RealmCallback

Computer Science & Information Technology