CIS 1057 Chapter Notes - Chapter 4: Function Prototype, Structure Chart

21 views3 pages

Document Summary

Debugging is the process of removing errors from a program. Syntax error = violation of the c grammar rules (detected during compilation) Run-time error = an attempt to perform an invalid operation (detected during execution) Logical error = an error caused by following an incorrect algorithm, which causes bad output. Library functions + top-down design and structure charts. C allows reuse by providing many predefined functions. A problem solving method in which you first break a problem into its major subproblems and then solve the subproblems. A documentation tool that shows the relationships among the subproblems of a problem. Helps keep track of relationship between subproblems. Functions allow the segmentation of code that does a specific function. Functions must be declared before they can be used. Creating a function prototype before the main function allows you to tell the compiler the functions that will be defined later. Void function = function that returns no value.

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