Ask Question
23 May, 19:07

Which of the following is not a legal identifier?

app_234

happyTimesAhead

321Go

cis22B

+3
Answers (1)
  1. 23 May, 21:20
    0
    321Go

    Explanation:

    The identifiers in C, C++, C#, Java and other programming languages are a combination of letters, numbers and the underscore symbol. The laters versions of C and C+ + allows you to use almost all Unicode characters. In Java, you can use also the dollar sign.

    From that you have to be careful to follow these rules:

    -Don't use keywords.

    -Don't include white spaces.

    -Don't use operators.

    -Don't repeat identifiers.

    -Don't start your identifier with a number.

    -Don't use two consecutive underscores.

    So app_234, happyTimesAhead, and cis22B are follo wing these rules but 321Go starts with a number.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Which of the following is not a legal identifier? app_234 happyTimesAhead 321Go cis22B ...” 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