Ask Question
26 September, 19:17

Which of the following is true?

a. Identifiers cannot be named with a name that startswith a $.

b. Identifiers cannot be named with a name that startswith a digit.

c. Identifiers cannot be named with a name that startswith a _.

d. Identifiers cannot be named with a name that startswith a $.

+3
Answers (1)
  1. 26 September, 21:23
    0
    Only c is False rest of them are True.

    Explanation:

    Identifier is a name given to a variable, function, class etc.

    Following are the properties of an Identifiers : -

    They are combination of lower case (a-z) and upper case (A-Z) and digits (0-9) and underscore (_). It cannot start with a digit. It cannot use special symbols. they can be of any length. Keywords cannot be used as an Identifier.

    So all of them are matching these properties of identifier except option option C.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Which of the following is true? a. Identifiers cannot be named with a name that startswith a $. b. Identifiers cannot be named with a name ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers