A program block is a single line of code followed by an end-of-block character.
举一反三
- What character is used in the program at the end of a block? A: ; B: / C: ( D: )
- C language allows two kinds of annotation: single line annotation and block annotation
- _______________ specify a region of source code with a start delimiter and an end delimiter and the region is allowed to span multiple lines. A: Region comments B: Tailing comments C: Line comments D: Block comments
- A block of code is enclosed in a set of
- Which of the following statements is true? ( ) A: The catch block contains the code that might throw an exception. B: The try block contains the code that handles the exception if one occurs. C: You can have many catch blocks to handle different types of exceptions. D: When a try block terminates, any variables declared in the try block are preserved.
