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