#include <iostream>
#include <string>
using namespace std;

typedef void (*fptr)(string);

void f(string s) {
	cout << "Hello " << s << endl;
}

int main() {
	void *vp = reinterpret_cast<void*>(f);
	reinterpret_cast<fptr>(vp)("world");
	return 0;
}