casinojojobetpulibet girişOnwin Güncel Giriştürkçe altyazılı pornocanlı bahis casinocanlı bahis casino siteleriOnwin Güncel Girişholiganbetholiganbet girişholiganbet güncel giriş C Program To Check If Alphabet, Digit or Special Character | C Programs
Latest :

C Program To Check If Alphabet, Digit or Special Character | C Programs

C program to check for an alphabet, digit or special character – In this article, we will detail in on the standard method of determining whether any character is an alphabet, digit or a special character.

Suitable examples and sample programs have also been added so that you can understand the whole thing very clearly. The compiler has also been added with which you can execute it yourself.

As you can see, only the standard method is used to define the same.

There are three types of characters used very popularly in the world of information namely:

  • Alphabets
  • Digits
  • Special Characters

All three of these are extremely important in order to move ahead with the scheme of things.

Source: Shutterstock

As you can see, everything that is given here comes under the mentioned three categories.

Thus, the way to check for the same in C programming is as follows:

Using Standard Method

1)Read the entered character.

2)If the entered character ASCII value is between 65 to 90 (or) 97 to 122, then it prints  “character is alphabet”.otherwise, it checks the next if condition.

3)If the ASCII value is between 48 to 57, then it prints “character is number”.Otherwise, it prints “special character”.

Output:
casinojojobetpulibet girişOnwin Güncel Giriştürkçe altyazılı pornocanlı bahis casinocanlı bahis casino siteleriOnwin Güncel Girişholiganbetholiganbet girişholiganbet güncel giriş
x

Check Also

C Program To Print Number Of Days In A Month | Java Tutoring

C program to input the month number and print the number of days in that ...