CSCE 121 Chapter Notes - Chapter 6: In C, Function Prototype, Include Directive

41 views8 pages

Document Summary

True/false: using functions greatly enhances a program"s readability because it reduces the complexity of the function main. Ref: 336: once you write and properly debug a function, you can use it in the program (or different programs) again and again without having to rewrite the same code repeatedly. Pts: 1: if the formal parameter list of a function is empty, the parentheses after the function name are not needed. Ref: 344: the following function heading in a c++ program is valid: int funcexp(int u, char v, float g) Ref: 344: the data type of a variable in a return statement must match the function type. Ref: 344: the execution of a return statement in a user-defined function terminates the program. Ref: 345: in c++, a function prototype is the function heading without the body of the function. Ref: 348: assume that all variables are properly declared.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents