// practice.cpp // Demonstrating an array of pointers to functions #include using std::cout; using std::cin; using std::endl; void function1( int ); void function2( int ); void function3( int ); char *sentence; char word[20]; void printSentence(const char *); int main() { cin >> word; printSentence(word); return 0; } void printSentence(const char *sentence) { while (*sentence != '\0') { cout <<*sentence; ++sentence; } }