// get_string and printf with %s #include #include int main(void) { string s = get_string("name: "); printf("hello, %s\n", s); }