How reserved words are different from variable explain with example?

Programming language reserved words are keywords that are reserved by a particular programming language methods or functions or other uses that cannot be used as identifiers (e.g., variable names, function names, class names). If a reserved word was used as a variable you would get an error or unexpected result.

For More Information Please Refer: