Computer Science, asked by maga40, 1 month ago

write a rules of identities of C++​

Answers

Answered by anjali2071
5

Explanation:

C++ Identifiers

  • Names can contain letters, digits and underscores.
  • Names must begin with a letter or an underscore (_)
  • Names are case sensitive ( myVar and myvar are different variables)
  • Names cannot contain whitespaces or special characters like !, #, %, etc.
  • Reserved words (like C++ keywords, such as int ) cannot be used as names.
Answered by rajansh9796
2

Answer:

C++ Identifiers

Names can contain letters, digits and underscores.

Names must begin with a letter or an underscore (_)

Names are case sensitive ( myVar and myvar are different variables)

Names cannot contain whitespaces or special characters like !, #, %, etc.

Reserved words (like C++ keywords, such as int ) cannot be used as names.

Similar questions