Machine-translated by Google. Questions are authored in English.
Top

Discussion

A preprocessor command

  • A.need not start on a new line
  • B.may be placed after other code on the same line
  • C.has # as the first character
  • D.comes before the first executable statement

Answer: C

Correct answer: has # as the first character

A directive is recognised by the #, which must be the first non-blank character on its own line. It may be indented, but nothing else may precede it on that line, and it must not be placed after other code. Nor need it come before the first executable statement - directives may appear anywhere in the file.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.