Keyword
Keywords are predefined words that gets reserved for working program that have a special meaning and cannot get used anywhere else.
Specify the type/kind of entity.
Eg: const, constexpr, break, inline, static, new, namespace, typename, enum, int, bool, return, false, void, template
Identifier
Identifiers are the values used to define different programming items such as variables, integers, structures, unions and others and mostly have an alphabetic character.
It identifies the name of the particular entity.
eg: final, override
They help to locate the name of the entity that gets defined along with a keyword.
Comments
Post a Comment