The \n digraph forces the print() function to:

  • Post author:
  • Post category:Q&A
  • Reading time:1 min read
  • Post last modified:March 15, 2025

The \n digraph forces the print() function to:

  • break the output line
  • output exactly two characters: \ and n
  • stop its execution
  • duplicate the character next to the digraph