/* * @topic T00355 May 2 -- pointer to char * @brief Program demonstrates pointer to char */ #include <iostream> void print_greeting( char* pmessage ) { std::cout << pmessage; } int main() { char* greeting = "Hello"; std::cout << greeting; print_greeting( greeting ); return 0; }