9. Which of the following is not an indication that a function is too complex?
(a) it has a large size(b) it has a large parameter list(c) its name is a clear reflection of its function(d) it performs multiple tasks 10. Which of the following functions does not contain any errors? 11. A function prototype does not have to 12. A function prototype can always be omitted when: 13. Each standard library has a corresponding __________. (a) function(b) variable type(c) header file(d) cd-rom 14. The rand function generates a data value of the type 15. A variable that can only have values in the range 0 to 65535 is a 16. In the expression, n = a + rand() % b; 17. srand (a) should be called before each call to rand(b) should be used instead of rand to generate truly random numbers (c) is unnecessary in C++ (d) can use time as an automatically input seed value
19. An identifier’s storage class
You've reached the end of your free preview.
Want to read all 5 pages?
- Fall '15