結果 : how to check if function pointer is null