Which of the following is not a rule that must be followed when naming identifiers?

a. The first character must be one of the letters a-z, A-Z, and underscore or a dollar sign.
b. Identifiers can contain spaces.
c. Uppercase and lowercase characters are distinct.
d. After the first character, you may use the letters a-z, A-Z, the underscore, a dollar sign, or digits 0-9.

b. Identifiers can contain spaces.

Computer Science & Information Technology

You might also like to view...

The FBI is the premier federal agency tasked with combating cybercrime.

a. true b. false

Computer Science & Information Technology

Which of the following statements is not valid C++ code?

A) int ptr = &num1; B) int ptr = int *num1; C) float num1 = &ptr2; D) All of the above are valid. E) All of the above are invalid.

Computer Science & Information Technology