State whether each of the following is true or false. If false, explain why.
1) Structures may contain only one data type.
2) Members of different structures must have unique names.
3) Keyword typedef is used to define new data types.
4) Structures are always passed to functions by reference.
1) False. A structure can contain many data types.
2) False. The members of separate structures can have the same names, but the members of the same structure must have unique names.
3) False. typedef is used to define aliases for previously defined data types.
4) False. Structures are passed to functions by value by default and may be passed by reference.
You might also like to view...
A multi-layer switch operates at which of the following OSI layers?
A. Layers 1 and 5 B. Layers 2 and 3 C. Layers 4 and 5 D. Layers 5 and 6
User-created exceptions can be created by:
a) overriding the Error class. b) overriding the Exception property. c) extending class Exception. d) they cannot be created