2027) Questions & Answers {Grade A}
100% Correct
What is the advantage of using a structure? - correct answer When the same structure
type is used in a list many times
Individual members can also be arrays and structures - correct answer True
Numeric elements of both static and external arrays / structures are initialized to
_________ without explicit initializers - correct answer 0 or null
Parallel arrays - correct answer Two or more arrays where each array has the same
number of elements, and the elements are directly related by their position in the
arrays (not used often, and is considered inferior to structures)
,Individual structure members may be passed to a function in the same manner as any
scalar variable - correct answer True
++ and -- cannot be used on structures - correct answer False
A structure cannot be passed by reference - correct answer False
On most compilers, complete copies of all members can also be passed to a function
by - correct answer including the name of the structure as an argument to the called
function
Union - correct answer Data type that reserves the same area in memory for two or
more variables
, What data types can be assigned to same same union variable, one at a time? - correct
answer Char, int, double
Unions are declared the same as structs - correct answer True
Individual union members are accessed using the same notation as structure
members - correct answer True
A union reserves sufficient memory locations to accommodate its - correct answer
largest member's data type
A type name can be associated with a union to create ____________ - correct answer
templates