how to check the index of an alphabet char c++ code example Example: isalpha c++ char test='a'; cout<<isalpha(test);