結果 : check if function pointer is null c++