---
title: "What are tokens?"  
description: "What are tokens?"  
author: "Shikhar Arora"  
published: 2019-12-07  
canonical: https://answers.mindstick.com/qa/92537/what-are-tokens  
category: "technology"  
tags: ["software engineering", "programming language"]  
reading_time: 1 minute  

---

# What are tokens?

What are [tokens](https://www.mindstick.com/news/1197/shark-tank-s-kevin-o-leary-beliefs-nfts-could-beat-the-bitcoin)

## Answers

### Answer by Sangsaptak Pal

Tokens are the smallest individual elements of a program. Everything that one sees inside a program is called token. There are basically five types of tokens: • [Keywords](https://en.wikipedia.org/wiki/Reserved_word): Reserved word which is already defined by the programming language for a specific purpose. Examples: int, for • [Identifiers](https://en.wikipedia.org/wiki/Identifier_(computer_languages)): The names given to various programming elements are known as identifiers. • [Operators](https://en.wikipedia.org/wiki/Operator_(computer_programming)): The symbols used to perform an arithmetic or logical operation. Examples: +, = • Separators: These are used to separate different programming elements. Examples: \t, \n • [Literals](https://en.wikipedia.org/wiki/Literal_(computer_programming)): The various constants used throughout the program. Example: “Hello”, 12 \
![What are tokens?](http://www.atnyla.com/library/images-tutorials/c-token-in-c-programming.PNG) Tokens at a glance


---

Original Source: https://answers.mindstick.com/qa/92537/what-are-tokens

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
