You are given a null-terminated string containing alphabets, digits, symbols, and spaces. Your task is to:
- Count the number of:
- Alphabets (A–Z, a–z)
- Digits (0–9)
- Other symbols (anything that is not alphabet, digit, or space)
Avoid using standard library functions like isalpha(), isdigit().
Example-1
Input: "C99_Firmware!"
Output:
Alphabets = 9
Digits = 2
Symbols = 2
Example-2
Input: "123@hello#"
Output:
Alphabets = 5
Digits = 3
Symbols = 2