Ask Question
26 December, 18:53

Which one of the following represents a valid Variable name?

a. 2A

b. $2

c. d+4

d. d 4

+3
Answers (1)
  1. 26 December, 19:09
    0
    b. $2

    Explanation:

    a. 2A is not a valid variable because variable names cannot begin with a number.

    b. $2 is valid because variable names can begin with $ or _ characters.

    c. d+4 is not a valid variable because variable names can only contain letters, numbers, underscores, or dollar signs. (+) sign is invalid.

    d. d 4 is not a valid variable because variable names cannot contain spaces.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which one of the following represents a valid Variable name? a. 2A b. $2 c. d+4 d. d 4 ...” 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