An identifier is a variable that holds a value and stores it in the memory.
No. An identifier is any token that matches the [_A-Za-z][_A-Za-z0-9]* regular expression and not all identifiers are variables: function names, macro names, and constant names are all identifiers.
Your rules for variables are also wrong in too many ways to list.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
No. An identifier is any token that matches the
[_A-Za-z][_A-Za-z0-9]*
regular expression and not all identifiers are variables: function names, macro names, and constant names are all identifiers.Your rules for variables are also wrong in too many ways to list.