What is the difference between identifier and keyword? Explain with example.
The difference between identifier and keyword is given below:
(a) Identifiers are names that are given to various program elements, such as variables, functions and arrays.There are certain reserved words called keyword.(b) Both upper and lowercase letters are used in identifiers.Only lowercase letters are used in keywords.