Multiple choice technology web technology

Which character is used to denote a variable

  1. a. $
  2. b. #

  3. c. @

  4. d. &

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In XPath, variables are denoted using the $ symbol prefix, such as $varName. This is a standard convention across many programming languages and XPath specifications. The # symbol typically indicates comments or IDs, @ is used for attributes, and & is used for entity references in XML, none of which are used for variable notation.