---
title: "Discussion on \"Identifying Character Types\" | Hashnode"
description: "Discussion on \"Identifying Character Types\". Q.Write a C++ program to accept a character. Print whether the character is an alphabet, digit, or a special character. Display appropriate messages.\n#include <iostream>\nusing namespace std;\n\nint main()\n{\n    char ch;\n\n    cout<<\" Enter a character :..."
url: "https://hashnode.com/posts/identifying-character-types/66b0913c5ffc4891edfa9231"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Identifying Character Types](https://shahalpp.hashnode.dev/identifying-character-types?utm_source=hashnode&utm_medium=feed)

Q.Write a C++ program to accept a character. Print whether the character is an alphabet, digit, or a special character. Display appropriate messages. #include <iostream> using namespace std; int main() { char ch; cout<<" Enter a character :...

Aug 5, 2024 · 2 min read · shahalpp.hashnode.dev  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)

## Written by

[Muhammed Shahal pp](https://hashnode.com/@shahal)

@shahal · Kerala,India

  
[View profile](https://hashnode.com/@shahal)

Aspiring Web Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
