Which character can be used at the beginning of a variable name in C?

Options

  • A. A digit
  • B. A hyphen
  • C. An underscore
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. An underscore

Detailed Explanation

Correct Answer: C — An underscore.

Explanation: A C identifier may begin with a letter or an underscore. It cannot begin with a digit, and a hyphen is not permitted as part of an ordinary identifier.