The following code examples demonstrate how to mix language calls:
Calls to assembly language from C
Calls to C from assembly language
Calls to C from C++
Calls to assembly language from C++
Calls to C++ from C
Calls to C++ from assembly language
Calls to C++ from C or assembly language
Passing a reference between C and C++.