Which one of the following escape sequences cannot appear in a string literal?

  1. \f

  2. \u

  3. \"

  4. \\


Correct Option: B
Explanation:

\u must be followed by four hexadecimal digits and is then known as a Unicode escape sequence.

Find more quizzes: