Ask Question
28 January, 03:51

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 $.

+4
Answers (1)
  1. 28 January, 04:19
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers