badge icon

This article was automatically translated from the original Turkish version.

Article

ASCII (American Standard Code for Information Interchange – American Standard Code for Information Interchange) is a character encoding system that defines the numerical equivalents of text characters in computer systems. The ASCII table consists primarily of 128 characters, which include letters, digits, punctuation marks, and control characters.

Applications of ASCII

ASCII has a wide range of applications in computer systems. Some prominent use cases include:

  1. Text Files – ASCII-based character encoding is widely used in plain text files.
  2. Programming – Many programming languages use ASCII characters to ensure source code is readable and portable.
  3. Communication Protocols – Internet protocols such as email, HTTP, and FTP are based on ASCII encoding.

Structure of the ASCII Table

The ASCII table consists of 128 characters encoded in 7 bits.

  1. Characters 0–31 and 127 – These are control characters used for data transmission.
  2. Characters 32–126 – These include alphanumeric characters, punctuation marks, and some special symbols.
  3. Characters 128–255 – These are extended ASCII characters.


ASCII Table (source: Linux Handbook)

Example Code Using ASCII

Below is an example in C++ that prints the ASCII values of characters:

When this code is executed, it produces the following output:

Bibliographies

GeeksforGeeks. "ASCII Table." Accessed March 1, 2025. https://www.geeksforgeeks.org/ascii-table/.

Linux Handbook. "ASCII Table." Accessed March 1, 2025. https://linuxhandbook.com/ascii-table/.

cppreference.com. "ASCII (C++)." Accessed March 1, 2025. https://en.cppreference.com/w/cpp/language/ascii.

Author Information

Avatar
AuthorAhmet Kerim BıyıklıDecember 23, 2025 at 8:56 AM

Tags

Discussions

No Discussion Added Yet

Start discussion for "ASCII Table" article

View Discussions

Contents

  • Applications of ASCII

  • Structure of the ASCII Table

  • Example Code Using ASCII

Ask to Küre