11. The variables declared in a statement block or listed in a function header’s parameter list are considered _____ variables

A. area
B. global
C. local
D. reference
E. value


Correct Answer: C. local

12. An expression

A. is a collection of data objects and operators that can be evaluated to a single value
B. is a name that substitutes for a sequence of characters
C. causes the computer to carry out some action
D. All of the above
E. None of the above


Correct Answer: A. is a collection of data objects and operators that can be evaluated to a single value

13. In the C language, the character type of constant is delimited by using

A. single quotes
B. double quotes
C. parenthesis
D. #
E. None of the above


Correct Answer: A. single quotes

14. One way in which a structure differs from an array is that _____

A. a structure may have members of more than one type
B. a structure must have members that; are all the same type
C. art array may have members of more than one type
D. there is no difference between a structure and an array


Correct Answer: A. a structure may have members of more than one type

15. A default constructor _____

A. takes no arguments
B. has default values for all its arguments
C. either (a) or (b)
D. neither (a) nor (b).


Correct Answer: C. either (a) or (b)

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    one + twenty =