Character Classification

Easy Conditional Statements
Solve in Playground →

Problem Statement

Write a C program to check whether a character is an uppercase alphabet, lowercase alphabet, digit, or special character.

Input Format

A single character.

Output Format

Print 'Uppercase', 'Lowercase', 'Digit', or 'Special'.

Constraints

Character is any valid ASCII character.

Sample Input

G

Sample Output

Uppercase

Explanation

'G' falls in the ASCII range [65, 90], representing an uppercase letter.

Starter Code

#include <stdio.h>

int main() {
    char ch;
    if (scanf("%c", &ch) == 1) {
        // Write your code here
    }
    return 0;
}

Limits

  • Time Limit: 1s
  • Memory Limit: 256MB

Embedded C Programming

Updated: March 15, 2026
Intermediate

Embedded systems rely on efficient low-level programming to interact directly with hardware. In this course, you will learn how to write practical Embedded C programs used in real microcontroller-based systems. Rather than focusing only on theory, this course follows a practice-driven approach. Each lesson includes hands-on coding exercises that simulate real firmware development tasks used