#include #include bool smaller(char* x, char* y){ if(x[0] == y[0]) return true; return false; } int main () { char* stringy = new char[10]; char* stringes = new char[10]; strcpy(stringy, "fevwaef"); strcpy(stringes, "wegvg"); std::cout << (smaller(stringy,stringes) ? "True" : "False") ; return 0; }