how to check a character is alphabet in C++ code example Example: isalpha c++ char test='a'; cout<<isalpha(test);