During the execution of the below-given Python/C API function, what will happen when no exception has been raised?

Questions & AnswersCategory: PythonDuring the execution of the below-given Python/C API function, what will happen when no exception has been raised?
Geek Boy Staff asked 2 years ago

During the execution of the below-given Python/C API function, what will happen when no exception has been raised?

int PyErr_ExceptionMatches(PyObject *exc)

a. It will call “void PyErr_Print()” function
b. It will return NULL
c. A memory access violation will occur
d. It will clear the error indicator