Explain the rules for forming identifier names. Give examples of valid and invalid identifiers names for the same.
2.B) Explain the various rules for forming identifier names. Give examples of valid andinvalid identifiers names for the same. Answer:- Rules for forming identifier names:- Identifier should contain only alphabets…