Application code written in M can call application code written in C (or which uses a C compatible call) and vice versa.

[Note] Note

This C code shares the process address space with the GT.M run-time library and M application code. Bugs in C code may result in difficult to diagnose failures to occur in places not obviously related to the cause of the failure.