isdigit() fun in c++ code example Example: isdigit c++ str = "10" //Evaluates to True isdigit(str[0])