Which of the following statements about passing structures to functions is false?

A. Individual members of a structure can be passed.
B. The whole structure can be passed
C. The address of a structure can be passed.
D. Structures cannot be returned.


Answer: D

Computer Science & Information Technology

You might also like to view...

Port-based, tag-based, and protocol-based are examples of which of the following?

What will be an ideal response?

Computer Science & Information Technology

When a program has an array out of bounds error, (i.e., the program accesses an illegal array value) how might the program behave when it executes?

A. The program will not compile, as C++ checks for this situation. B. The program might run normally without error. C. The program might crash or hang up the computer. D. B and C are correct.

Computer Science & Information Technology

What is another name for asymmetric cryptography?

A. Secret key cryptography B. Private encryption C. Unbalanced encryption D. Public key cryptography

Computer Science & Information Technology

____ are Illustrator objects that you paint with or apply to other objects as strokes.

A. Brushes B. Paths C. Paints D. Pens

Computer Science & Information Technology