Which of the following is called the line continuation character?

*
^
-
_

The correct answer is: \

A line continuation character is a character that allows a line of code to be continued on the next line. In most programming languages, the line continuation character is \.

The other options are not line continuation characters.

  • * is the asterisk character. It is used in many programming languages to represent multiplication.
  • ^ is the caret character. It is used in many programming languages to represent bitwise exclusive OR.
  • - is the hyphen character. It is used in many programming languages to represent subtraction.
  • _ is the underscore character. It is used in many programming languages to represent a variable name.