A 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) and e)
Explanation: 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...

When a new item is added to an AVL tree

A) the tree may become unbalanced in only one way B) the tree may become unbalanced two different ways, but the two imbalances are mirror images of each other C) the tree may become unbalanced in four different ways, but because of mirror images, there are really only two fundamentally different imbalances D) the height of one of the subtrees of the root may become three times the height of the other subtree

Computer Science & Information Technology

How does a hardware keylogger work?

What will be an ideal response?

Computer Science & Information Technology

Input masks can restrict the number of characters allowed in a field

Indicate whether the statement is true or false

Computer Science & Information Technology

In the following pseudocode, if any of three conditions evaluates as true, the combined condition is also true.If code == "SF" Or code == "SP" Or code == "SB" Then   Display "Your order has been shipped."End If

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

Computer Science & Information Technology