explain identifier with rules
Answers
Answered by
2
Answer:
Rules for an Identifier
An Identifier can only have alphanumeric characters(a-z , A-Z , 0-9) and underscore( _ ). The first character of an identifier can only contain alphabet(a-z , A-Z) or underscore ( _ ). Identifiers are also case sensitive in C. For example name and Name are two different identifiers in C.
Answered by
1
卄乇ㄚ 爪卂ㄒ乇 ♥️
ʳᵘˡᵉˢ ᶠᵒʳ ᵃⁿ ⁱᵈᵉⁿᵗⁱᶠⁱᵉʳ ᵃⁿ ⁱᵈᵉⁿᵗⁱᶠⁱᵉʳ ᶜᵃⁿ ᵒⁿˡʸ ʰᵃᵛᵉ ᵃˡᵖʰᵃⁿᵘᵐᵉʳⁱᶜ ᶜʰᵃʳᵃᶜᵗᵉʳˢ(ᵃ-ᶻ , ᵃ-ᶻ , 0-9) ᵃⁿᵈ ᵘⁿᵈᵉʳˢᶜᵒʳᵉ( _ ). ᵗʰᵉ ᶠⁱʳˢᵗ ᶜʰᵃʳᵃᶜᵗᵉʳ ᵒᶠ ᵃⁿ ⁱᵈᵉⁿᵗⁱᶠⁱᵉʳ ᶜᵃⁿ ᵒⁿˡʸ ᶜᵒⁿᵗᵃⁱⁿ ᵃˡᵖʰᵃᵇᵉᵗ(ᵃ-ᶻ , ᵃ-ᶻ) ᵒʳ ᵘⁿᵈᵉʳˢᶜᵒʳᵉ ( _ ). ⁱᵈᵉⁿᵗⁱᶠⁱᵉʳˢ ᵃʳᵉ ᵃˡˢᵒ ᶜᵃˢᵉ ˢᵉⁿˢⁱᵗⁱᵛᵉ ⁱⁿ ᶜ. ᶠᵒʳ ᵉˣᵃᵐᵖˡᵉ ⁿᵃᵐᵉ ᵃⁿᵈ ⁿᵃᵐᵉ ᵃʳᵉ ᵗʷᵒ ᵈⁱᶠᶠᵉʳᵉⁿᵗ ⁱᵈᵉⁿᵗⁱᶠⁱᵉʳˢ ⁱⁿ ᶜ.
Hope it helps ☄️
Similar questions