C Program To Check Whether a Character is an Alphabet or Not

preview_player
Показать описание

Lets write a C program to check if user input character is an alphabet or not.

In C programming language, every character variable holds an ASCII value rather than the character itself.

Note: ASCII value range of lower case alphabets:
ASCII value of a is 97.
ASCII value of b is 98.
ASCII value of c is 99.
and so on till z ..
ASCII value of z is 122.

ASCII value range of upper case alphabets:
ASCII value of A is 65.
ASCII value of B is 66.
ASCII value of C is 67.
and so on till z ..
ASCII value of Z is 90.

C Programming Interview / Viva Q&A List

C Programming: Beginner To Advance To Expert
Рекомендации по теме
Комментарии
Автор

It's' %c mentioned '%d' in video Just look once Work 👍🏻

anzilnazar
Автор

Ok so what if i want to print both digit and alphabet in c in same ( one prgm )

Wakanda-eu
Автор

Bro, why can't we use logical OR instead of logical AND ?

sihi__
Автор

If we will enter our name like aas, aashiv, sumit it is showing it as a alphabets plz help

aashivdhankhar
Автор

Mai ne yise if else statement use kar ke program ko banaya hai

CoderMala