add funptrexample ; experiment with function pointer and type conversion with global closure variable