C Programming Absolute Beginner's Guide (3rd Edition)

(Romina) #1

remember from this chapter include:



  • The three rules of programming are comment, comment, comment. Clarify your code
    with abundant comments.

  • For multiline comments, begin them with /, and C considers everything after that a
    comment until it encounters a closing
    /.

  • For single-line comments, you can also use //. C ignores the rest of the line after
    that point.

  • Use whitespace and line breaks to make your programs easy to read.

Free download pdf