semicolon does not (usually) go after these with the exception of >>”with the exception of” seems to make no sense here

a) while(condition)
b) if(condition)
c) a function header to make it a function declaration
d) int main( )
e) an expression to make it a statement


c) a function header to make it a function declaration, and e) an expression to make it a statement

a) could have a semicolon if the loop’s work is done with side effects in the condition. b) could have a semicolon if the programmer wants an empty statement for whatever reason. A semicolon after d) would be a syntax error.

Computer Science & Information Technology

You might also like to view...

Critical Thinking QuestionsCase F-1Cadence is the web master for the XYZ Corporation. She knows that links are the real strength of a website. She has created a navigation bar using a group of text links that helps viewers navigate between pages of the company's site. She has started working on the site's link structure and is adding an image map as well as button images. Cadence notices a link that is not working correctly. After verifying the link is spelled correctly, and noting that other links are working, what cause should she consider next?

A. The website may be down B. The link may have become inactive C. An Internet connection is not working properly D. All of the above

Computer Science & Information Technology

When comparing the net present values of projects, all things being equal, the project with the lowest net present value is the best investment.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Search the Internet for information about CASE tools that provide UML support.

What will be an ideal response?

Computer Science & Information Technology

It would be correct to say that Illustrator is a sophisticated utility for outputting color separations.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology