Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exercise: concatenate strings

Write two programs.

  • Get two strings on the command line, concatenate them and print them.
  • Ask the user for two string on STDIN and concatenate them.