Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Language/Preprocessing/PreprocessingStrings

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Two adjacent string literals are treated as if they had been concatenated. For a string literal that contains a special character (e.g., a newline), either escape that special character (\n) or use a raw-string-literal. A preprocessor macro can optionally add quotation marks to a macro-parameter while that macro expands. Additional information about preprocessing strings (includes interactive examples)