c++ check if character is letter code example Example: isalpha c++ char test='a'; cout<<isalpha(test);